Directory
Figure 4-2 is an alphabetic list of the major labels ef the Directory program. The
associated method of operation diagram is
referenced and a brief description of the
function performed at the Feint in the program corresponding tc each label is
included. Label BARE BILDUDIR BILDUlUC BINCONV CHAINDEV CLEARUDR CMS1 CMS3 COMPARE DECCONV DEPAUL13 DMKDIRCT EDIT TEST EOP ERROR51 ERROR52 ERROR58 ERROR62 EXIT GETCARD GETCYLNO GETPAGE GRAPHID HEICONV LONG LOOP11 MOVECPT MOVEDISP MOVEPSW MSGRET MSG02A MSGWRITE NOTUSED POINTDEV Diagram
4-5
4-2,4-3
4-1
4-1
4-1 4-1 4-2
4-4
4-1
4-5
4-1
4-5
4-5
4-1
4-1
Description
Directory program exit when not running under the control
of VM/370. Builds UDIRBLOK. Builds UMACBLOK. Cenverts decimal numbers to binary.
Chains UDEVBLOK to UMACELCK. Clears UDIRBLOK. Sets up the parameter list identifying the file centaining the
control statements when running under CMS. Reads CMS control cards via SVC 202: Compares keywords and sets condition codes.
Converts decimal numbers to hexadecimal.
Defaults to the IPL device for control statement input device
when running standalone. Sets up base registers and initializes pointers. Sets DIRFLAG to X'20' to indicate edit, if EDIT is specified
when the Directory program is run under VM/370. Simulates a USER card.
Error processing for invalid operand.
Issues message when a control statement is out cf sequence.
Issues message DMKDIR758E.
Issues message DMKDIR762E.
End-of-job processing for Iirectory Program. Reads control statement in input buffer. Pills in cylinder relocation for minidisks.
Assiqns a DASD page address. Reads the input control statements from a display terminal when
the directory program is not running under hexadecimal numbers to tinarv.
Turns on long block indicator for minidisks.
Calls DMKUDRDS via the DIAGNOSE instruction to swap directories
when running under VM/370. Sets up current control statement pointer. Updates UMACBLOK. Sets up return PSi before issuing DIAGNOSE to call DMKUDRDS. When running standalone, a header line is printed.
Requests input device when running standalone.
Writes messages to the terminal. Updates UMACBLOK pointer. Updates UDEVBLOK pointer. igure 4-2. The Directory Program Label Directory (Part 1 of 2)
Chapter 4. rMKDIR--The Directory Program 89
Label
READ
READCARD
REREAD
RET1 SCANACCO SCANALLO SCAN CARD SCANCONS SCANCTCA SCAN DEDI SCAN DIRE SCANIPL SCANLINK SCANMDIS SCANNAME SCANOPTI SCAN SPEC SCANSPOO SCAN USER SCAN1 SCAN2311 SCAN2540 SCAN2701 SCAN2702 SCAN2703 STARTIO STATE STOREADD TERM TESTBUFF TESTUDEY UPDATE UPDATECT WRITE Diagram
4-1
4-2
4-2
4-5
4-4
4-4
4-3
4-4
4-4
4-4
4-2
4-2
4-4
4-2
4-4
4-3
4-2
4-2
4-4
4-4
4-4
4-1
4-1
4-1
4-1 Description Reads control statements and branches to appropriate processing
routine.
Reads control statements. Sets up pointer to control statement read buffer. Scans control statements. ACCOUNT statement processing routine.
Builds allocation record. Scans the control statement for the next operand. CONSOLE statement processing routine. Updates the UDEYBLOK and chains the control unit to the UDEYELOK for channel-to-channel adapters.
DEDICATE statement processing routine. DIRECTORY statement processing routine. IPL statement processing routine.
LINK statement processing routine. MDISK statement processing routine. Scans the name table until a match is found. Register 4 points
to the name table. If the name field is a constant,
it is put in the UDEYBLOK. If the name field is an address,
control is passed to that address. OPTION statement processing routine. SPECIAL statement processing routine. SPOOL statement processing routine. USER statement processing routine. Points register 4 to TAEL!1, then branches and links to SCANNAME routine to determine the appropriate control statement
processing routine. Updates the UDEYBLOK for 2311 disks. Updates the UDEVBLOK for 2540 devices. Updates the UDEVBLOK for 2701 devices. Updates the UDEVBLOK for 2102 devices. Updates the UDEYBLOK for 2103 devices.
Reads the input control statements if the directory program is
not running under CMS. Checks that control statement file exists. Sets the DIRFLAG to X'20' to indicate edit, if EDIT is specified
when the Directory program is run standalone.
At end of processing, returns control to CMS if running under YM/370. Tests to see if UDEYBLOK was used.
Gets D1SD address of UMACELOK. Points to next UDEVBLOK. Updates device count in UMACBLOK. writes the directory on I!SD. Figure 4-2. The Directory Program Label Directory (Part 2 of 2) 90 IBM VM/370 Service Routines Program Logic
,
Previous Page Next Page