HP 3000 Manuals

Using Indirect Files [ Performing System Operation Tasks ] MPE/iX 5.0 Documentation


Performing System Operation Tasks

Using Indirect Files 

If you store the same information to tape regularly, you might keep the
STORE parameters and options you use in an indirect file.  When you issue
the STORE command, you simply reference the indirect file, rather than
typing all of the necessary information on the command line.

An indirect file is a text file containing the file set and the
parameters for a STORE command.  It must be an existing permanent or
temporary file with a record length between 8 and 255 bytes.  Read access
must be allowed, although the file may be open, shared, or intrajob.

To use an indirect file 

Suppose you regularly back up all the files on your system, including the
system directory and nonsystem volume set and its directory.  The usual
STORE command might be this:

     STORE @.@.@;*T;DIRECTORY;ONVS=MPEXL_SYSTEM_VOLUME_SET,NV1 

If you enter these parameters in a text file, give it an easy name to
remember (BACKUP1 in the example below), and then reference the file in
the STORE command, you can save time and effort.  For example:

     :EDITOR
     /ADD
     @.@.@;DIRECTORY;ONVS=MPEXL_SYSTEM_VOLUME_SET,NV1
     /KEEP BACKUP1
     /EXIT

To tell STORE that you're using an indirect file, precede the file name
with the caret (^). 

     STORE ^BACKUP;*T 

You can also specify multiple indirect files.  For example:

     STORE ^BACKUP1,^BACKUP2;*T 



MPE/iX 5.0 Documentation