HPlogo Performing System Operation Tasks: 900 Series HP 3000 Computer Systems > Chapter 6 Copying Files to Tape

Using Indirect Files

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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
Feedback to webmaster