Directory Program
The Directory Program
The directory program can be run under CMS (using the DIRECT
command) or standalone. The standalone version of the directory program
is provided in object deck form (a three card loader, followed by theDMKDIR text deck), and may be loaded directly from either a real or
virtual card reader.
If you run the directory program underCMS, input records must be in
aCMS file with a default fileid of "USER DIRECT". The DIRECT command
loads the directory creation module. If no filename is specified, the
program looks for a file namedUSER DIRECT. Otherwise, it looks for a
file named filename DIRECT.
If the file is not found, or if an error occurs during processing,the directory is not created and the old directory remains unaltered. Normal completion writes the DASD address of the new VM/370 directory
in theVOLl label, and if it is updating the active system directory, it
places the new directory in use byVM/370. You can print the new
directory by issuing theCMS command PRINT USER DIRECT (or PRINT filename DIRECT).
The virtual machine executing the directory program must have write
access to the volume to contain the new directory. If you create a
directory that is to be written on the activeVM/370 system residence
volume, your virtual machine's current directory entry must have write
access to the volume containing the currentVM/370 directory. Assume that you have the following virtual machine for online
directory modification.USER UPDRCT PASSWORD 256K 1M ABC ACCOUNT NUMBER BIN2 IPL CONSOLE 009 3215 SPOOL C 2540 READER A SPOOL D 2540 PUNCH A SPOOL E 1403 A
LINKCMSSYS 190 190 R MDISK 330 3330 o 404 SYSRES MDISK 331 3330 o 404 SYSWRK MDISK 230 2314 o 203 UDISK 1 MDISK 231 2314 o 203 UDISK2 MDISK 232 2314 o 203 BATCH1 MDISK 233 2314 o 203 BATCH2 MDISK 191 3330 26 0110 VMDSK2 WR RPASS WPASS WR RPASS WPASS RR RPASS WPASS RR RPASS WPASS RR RPASS WPASS RR RPASS WPASS WR RPASS WPASS Using the CMS EDIT command and its subcommands, you can create or
modify a card-image file of theVM/370 directory input. When you are
ready to write anew directory, issue the command:
DIRECT filename
where filename is aCMS file (normally named USER) with filetype DIRECT
containing the necessary Directory program control statements. The
DIRECT command puts this file into the form of a directory, and replaces
the old directory with this new one.Part 2. Defining Your VM/370 System 197
The Directory Program
The
command) or standalone. The standalone version of the directory program
is provided in object deck form (a three card loader, followed by the
virtual card reader.
If you run the directory program under
a
loads the directory creation module. If no filename is specified, the
program looks for a file named
file named filename DIRECT.
If the file is not found, or if an error occurs during processing,
in the
places the new directory in use by
directory by issuing the
The virtual machine executing the directory program must have write
access to the volume to contain the new directory. If you create a
directory that is to be written on the active
volume, your virtual machine's current directory entry must have write
access to the volume containing the current
directory modification.
LINK
modify a card-image file of the
ready to write a
DIRECT filename
where filename is a
containing the necessary Directory program control statements. The
DIRECT command puts this file into the form of a directory, and replaces
the old directory with this new one.