SET.FILE

Top  Previous  Next

 

The SET.FILE command adds a Q-pointer to the VOC to reference a remote file.

 

 

Format

 

SET.FILE {account { filename { pointer} } }

 

where

 

accountis the name of the account holding the file to be referenced. This name must exist in the ACCOUNTS file of the QMSYS account.

 

filenameis the name of the file in the remote account. This must correspond to an F-type VOC entry in that account. The SET.FILE verb cannot be used to create Q-pointer chains as this technique is not recommended.

 

pointeris the name to be given to the Q-pointer created in the local account.

 

The SET.FILE command prompts for information not provided on the command line. The pointer defaults to QFILE.

 

 

The SET.FILE command creates a Q-pointer in the local account to reference the named file in the remote account. Q-pointers should be used in preference to multiple F-type records pointing to the same file as they simplify maintenance and give a sense of ownership of the file to the account containing the F-type entry.