-!. _______ " j,ocess;n
g
--:------'11") If a SPOO L control statement,
Control Statements
Notes
1 The SCANSPOO routine builds a UDEVBLOK. The UDEVSTAT field is set to X'OS' to indicate a spool device. The virtual device ad-
dress is stored in the UDEVADD f-'-I -lid .... 1- 5 .... 001 is stored :n 1t:IU CI lhc tJ the UDEVCLAS field. The SCANSPOO routine branches and links to the SCANNAME routine with
register 4 pointing to TABLE5. For all device types except the 2540, the spool class is picked up directly from
TABLE5. For a 2540 device, the
device class is determined in the SCAN2540 routine. The default
class is A, except for readers (readers
default to class*).
The SCANSPOO routine then branches
to the CHAINDEV routine to chain
the UDEVBLOK to the UMACBLOK.
2 The SCANDEDI routine builds a UDEVBLOK. The UDEVSTAT field
is set to X'SO' to indicate a dedicated
device. The virtual device address is
stored in UDEVADD field. And, either the volume serial number (UDEVVSERI or user link to disk (UDEVLlNKI fields are updated.
The SCANDEDI routine then branches
to the CHAINDEV routine to chain
the UDEVBLOK to the UMACBLOK.
Module DMKDIR build a UDEVBLOK and chain it.
2 If a DEDICATE control statement, build a UDEVBLOK and chain it. Label Ref Notes SCANSPOO I II CHAINDE DMKDIR SCANDEDI CHAINDEj Diagram 4-3. DMKDIR Centrol Statement Processing Chapter ======> Output
First
Record UDIRBLOK UDIRBLOK UDIRBLOK Module lr 1. Second
Record
UMACBLOK UDEVBLOK UDEVBLOK UMACBLOK UDEVBLOK UDEVBLOK Label Ref 11 .... tMKDIR--Tbe Directory Prcgram 85
Input Control Statements Notes Module 1 The SCANLINK routine builds a DMKDIR UDEVBLOK. The UDEVSTAT field
is set to X'lO' to indicate the device is
to be linked at logon time. The virtual
device address (UDEVADD) and link device address (UDEVLlNK) are up· dated. The mode (UDEVMODE) is also updated.
Label Value Comments UDEVR 00 R link·mode UDEVRR 04 RR link-mode UDEVW 08 W link-mode UDEVWR 12 WR link-mode UDEVM 16 M link-mode UDEVMR 20 MR link-mode UDEVMW 24 MW link-mode 2 If the IPL control statement does not DMKDIR follow a USER, ACCOUNT, or OPTION control statement, DMKDIR752E STATEMENT SEQUENCE ERROR FOLLOW- ING USER user
appears on the console followed by the
statement that was out of sequence.
Directory processing is terminated after scanning the remaining statements for
syntax.
The name of the system to be loaded
(via IPL) at logon time is placed in the UMACIPL field of the UMACBLOK. 3 The SCANSPEC routine builds a DMKDIR UDEVBLOK for a special device.
The virtual device address is stored in UDEVADD, the device type is stored
in UDEVTYPE, and the class is stored
in UDEVTYPC. The SPANSPEC routine branches and links to the SCAN NAME routine with register 4
pointing to TABLE2. The device type
and class is picked up directly from
TABLE2 for a 3270 and pseudo-timer.
Processing If LINK control statement, update
the UDEVBLOK and chain it.
2 If IPL control statement, update
the UMACBLOK. 3 If SPECIAL control statement,
update the UDEVBLOK and chain
it.
4 If CONSOLE control statement,
update the UDEVBLOK for the
console and chain it.
5 If DIRECTORY control statement,
update the lOB LO K and get the DASD page address of the DDIRBLOK and UMACBLOK buffers.
> Output First
Record UDIRBLOK UDIRBLOK UDIRBLOK Lr n-. Second
Record UMACBLOK UDEVBLOK UDEVBLOK UMACBLOK UDEVBLOK ... Label Ref Notes Module Label Ref SCAN LINK The SCANNAME routine branches (via
an ADCON) to the SCANCTCA, SCAN2701, SCAN2702, and SCAN2703 routines to determine the device type
and class of channel-ta-channel adapter,
or 2701, 2702, and 2703 special device.
4 The SCAN CONS routine builds a DMKDIR SCAN CONS UDEVBLOK for the console. The
virtual device address is stored in UDEV ADD, the device type is stored
in UDEVTYPE, and the class is stored
in UDEVTYPC. The default class is T.
The SCAN CONS routine branches and
links to the SCANNAME routine with
register 4 pointing to TAB LE3. The
device type and class are picked up
directly from TABLE3. SCANIPL ERROR52 5 If the DI RECTORY control statement DMKDIR SCANDIRE is not the first control statement, DMKDIR752E STATEMENT ERROR52 SEQUENCE ERROR FOLLOW- ING USER user
appears on the console followed by the
statement that was out of sequence.
Directory processing is terminated after
scanning the remaining statements for
syntax.
The SCANDI RE routine sets up to up- date the 10BLOK. The output device
address is stored in DASDADD, and the
serial number is stored in DASDVSER. SCANSPEC The DIRFLAG is set to a hexadecimal
SCANNAME
value that indicates the device type of
the output unit. Then, the SCANDI RE SCANCTCA routine gets the pointer to the first page
of the directory and machine buffer
areas. SCAN2701 SCAN2702 SCAN2703 Diagram 4-4. DMKDIR Control Statement processing
86 IBM VM/370 Service Routines Program Logic
Previous Page Next Page