s-pointer

Definition/General, Releases: AP 6.2

Defines a remote file which is saved as if it were local.

Description

defines a remote file which is saved as if it were local.

The first attribute of such a pointer must be 'QS'. The second attribute must be null. The third attribute must be a remote host name followed by a colon followed by the remote file name.

Any header information associated with a particular file driver is also saved to guarantee that the data can be restored with the same attributes as it was saved. For example, Unix files are saved with all permissions, ownerships, and update stamps intact.

Example

The following qs-pointer causes the file-save to save all accessable files (not
including sub-directories) in the Unix /u/john directory. Note that the Unix
permissions of the Pick user must be sufficient to access the data on that Unix
directory. See the 'Unix Files' item for more information on
specific options.

001 QS
002
003 unix:/u/john
a

The following qs-pointer causes the remote Pick file 'pa,bp,' on the
host 'prod' to be saved on the local file save.

001 QS
002
003 prod:pa,bp,

See Also

Command Name Type Description
synonym.defining.items Definition Synonym files, or 'q-pointers'.
general.super.q.ptr Definition Extended q-pointer for accessing non-Pick and/or non-local files.
general.unix.q.ptr Definition Description of Unix Remote Files
filename.peqs File a super-Q-pointer used to access spooler jobs.
general.binary.q.ptr Definition Description of Binary Files

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.