Storing/Restoring Spool Files [ Native Mode Spooler Reference Manual ] MPE/iX 5.5 Documentation
Native Mode Spooler Reference Manual
Storing/Restoring Spool Files
You may store and restore spool files in NMS format or in SPOOK5/SPXFER
format.
NMS format
To store or restore one or more spool files in NMS format to tape, use
this combination:
* the STORE command.
* the RESTORE command
The STORE and RESTORE commands create and restore spool files only in the
NMS format. Such spool files cannot be restored to MPE V/E systems.
SPOOK5/SPFXFER
To store and restore spool files in a SPOOK5 or SPFXFER format, use the
SPXFER utility.
The CI STORE command accommodates the storing of nonprivate output spool
files to tape. You may store your own nonprivate output spool files that
are in OUT.HPSPOOL and that are linked to the spooling subsystem. You do
not need system manager or account manager capabilities. You cannot
store or restore input spool files because they are private files.
The RESTORE command accommodates the restoring of output spool files from
tape. A spool file successfully restored to OUT.HPSPOOL is automatically
linked to the spooling subsystem. The spool file's SPOOLID is changed to
match the name assigned by the file management routines.
NOTE Spool Files on a STORE/RESTORE tape cannot be restored to an MPE
V/E or MPE/iX spooler systems that do not contain NMS. Spool files
stored on tape with either the SPOOK or SPOOK5 utility cannot be
restored with STORE/RESTORE.
To store spool file O23, enter:
FILE SPBACKUP ;DEV=TAPE
STORE O23.OUT.HPSPOOL ;*SPBACKUP ;SHOW
To store from indirect file INDFILE, an ASCII file that contains the
following:
O234.OUT.HPSPOOL,O456.OUT.HPSPOOL;SHOW
STORE ^INDFILE; *T
Suppose that your spool files O12, O34, and O56 are stored to tape and
suppose that you are USER, the creating user, and are in the group and
account GROUP.ACCOUNT at store time. The spool files themselves reside
in OUT.HPSPOOL. Now suppose that you want NEWUSER to be the creator of
the spool files when you restore them.
Enter:
RESTORE *T ;@.OUT.HPSPOOL
;CREATOR=NEWUSER
The spool files are in OUT.HPSPOOL and NEWUSER.ACCOUNT is the creator of
the spool files. The names of the spool files are changed to match the
SPOOLID names assigned by the file management routines and are
automatically linked to the spool file directory (SPFDIR).
MPE/iX 5.5 Documentation