Directory Program
If you execute the Directory program underVM/370, the newly created
directory is dynamically swapped, and placed in use byVM/370 (provided
that you have class A, B, or C and that the directory you updated is the
one that is currently in use by the system). If you do not have the
proper privilege class, the directory is updated on the directory volume
but not dynamically swapped, so the change will not go into effect until
the next time the system is loaded (viaIPL). The format of the DIRECT
command is:
r, , t , L
DIRECT
r,filename L
rIfiletype IQIRECT L
r ",I filemode I I I I * III L ...... [ (EDIT) ]
filename [filetype [filemode]]
(EDIT)
is the identification of the file containing the control
statements for the Directory program. If no filename and
filetype are given, the program defaults to a file namedUSER DIRECT; otherwise, it looks for the file named. The filetype
must be DIRECT. If only filename is given, filetype defaults
to DIRECT. The filemode defaults to * if not specified.
specifies that the directory is to be examined, but not
changed.Under eMS, the DIRECT command loads the directory creation module.
The first statement encountered must be aDIRECTORY statement. If not
found, or anotherDIRECTORY statement is found, the program terminates. A syntax error in any statement generates an error message, and the
directory is not updated. If no critical errors are encountered, the
remaining statements are checked for syntax.
If the Directory program abnormally terminates, the old directory is
not altered. Normal completion places the directory in useby VM/370. After the new directory is created, it can be printed by issuing the CMS command PRINT USER DIRECT or PRINT filename DIRECT.
The DIRECT command filename and filetype default to aCMS file
identification ofUSER DIRECT. The filemode defaults to * if not
specified.Any or all of the defaults can be overridden by the command
line. The EDIT option allows you to run the program without updating
the directory on disk. This enablesyou to check the syntax of the
directory statements without accessing the directory disk.INVOKING DIRECTORY AS A STANDALONE PROGRAM Standalone operation in a virtual machine is the same as eMS operation,
with this exception: afterIPL, the program asks you for the virtual
card reader address. Ifyou enter a null line, the IPL device address
is the default ofOOC. Part 2. Defining Your VM/370 System 199
If you execute the Directory program under
directory is dynamically swapped, and placed in use by
that you have class A, B, or C and that the directory you updated is the
one that is currently in use by the system). If you do not have the
proper privilege class, the directory is updated on the directory volume
but not dynamically swapped, so the change will not go into effect until
the next time the system is loaded (via
command is:
r
DIRECT
r
r
r ",
filename [filetype [filemode]]
(EDIT)
is the identification of the file containing the control
statements for the Directory program. If no filename and
filetype are given, the program defaults to a file named
must be DIRECT. If only filename is given, filetype defaults
to DIRECT. The filemode defaults to * if not specified.
specifies that the directory is to be examined, but not
changed.
The first statement encountered must be a
found, or another
directory is not updated. If no critical errors are encountered, the
remaining statements are checked for syntax.
If the Directory program abnormally terminates, the old directory is
not altered. Normal completion places the directory in use
The DIRECT command filename and filetype default to a
identification of
specified.
line. The EDIT option allows you to run the program without updating
the directory on disk. This enables
directory statements without accessing the directory disk.
with this exception: after
card reader address. If
is the default of