When you use the SAV command, you use a pathname to specify objects to
be saved. The pathname consists of a sequence of directory names that are
followed by the name of the object. You also use the pathname for the values
of other parameters, such as the device (DEV) parameter. For example, on
the SAVLIB command, you specify
DEV(TAP01). To use device
TAP01 on the SAV command, you specify:
DEV('/QSYS.LIB/TAP01.DEVD')
To
use a save file name MYSAVF in library QGPL on the SAVF command, you specify:
DEV('/QSYS.LIB/QGPL.LIB/MYSAVF.FILE')
You may want to create symbolic links for devices that you specify with
the SAV command to simplify keying and to reduce errors. For example, you
can create a symbolic link for the media device description that is called
either
TAP01 or
OPT01. If you wish to use
symbolic links, it is recommended that you perform a one-time setup of symbolic
links in the root directory. For each tape device on your server, type the
following:
ADDLNK OBJ('/qsys.lib/media-device-name.devd') NEWLNK(media-device-name) +
LNKTYPE(*SYMBOLIC)
If the current directory is the root
directory, then an example of the SAV command using the symbolic link would
be the following:
SAV DEV(media-device-name) +
OBJ(('/*') ('/QDLS' *OMIT) ('/QSYS.LIB' *OMIT))
All subsequent
path names on the command would need to begin from the root directory.
Note: If
the root directory is not the current directory, be sure to specify DEV('/media-device-name') on
the SAV command.