HP 3000 Manuals

DO [ HP Resource Sharing for MPE/iX ] MPE/iX 5.0 Documentation


HP Resource Sharing for MPE/iX

DO 

The DO command starts a command file containing DISCMGR commands and
executes the commands in sequence.  The file can be either an MPE file or
a shared disc DOS file.  If you use an MPE file, it must be an unnumbered
ASCII file with a fixed record length that contains less than 256
characters per record.  You can use the DO command within a file to
invoke other DO files.

When you use the DO command, DISCMGR first searches MPE files for the
filename you entered, then it searches the shared disc files.  If your
command file is a shared disc file, make sure you do not use the same
filename for an MPE file that is not a command file.  If you do, DISCMGR
will stop searching when it finds the MPE file, and will display an error
message telling you that the filename you entered is not a command file.

Abbreviation:  None

DO commandfile 

commandfile      Any valid MPE filename or DOS filename that contains
                 DISCMGR commands.

To use the DO command with an MPE filename, enter:

     DO commandfile.group.account 

To use the DO command with a DOS filename, enter:

     DO [drive:] commandfile 


NOTE The maximum nesting for DO files is five. That is, you can invoke up to five nested DO files. If an error occurs while executing a DO file, execution stops unless you have used the command SWITCH IGNORE ON (see the SWITCH command description). To see the commands being executed in the DO file, enter the command SWITCH ECHO ON before entering the DO command, or use SWITCH ECHO ON as the first command in the DO command file.


MPE/iX 5.0 Documentation