Input Processing Output I REG 15 II I RC32 I > Read the 'MACS' record.
2 Process the control records. I (See Diagram 7-8 for details.)
DMSUPD179E
3 At end, exit.
Tl
DMSUPD183E
Stacked lines, if 'STK' REG 15
option II specified II DMSUPD179E Notes Module Label Ref Notes Module Label Ref
1 The macro library (MACS) record is DMSUPD CTMULT is displayed and control returns to the
read from the beginning of the control CMS command environment with a
file and saved. If the MACS card is not ERMACS return code of 32 in register 15.
found, or is not the first noncomment
card in the control file, the message If STK is specified, the updated level I DMSUPD179E MISSING OR DUPLI-
CATE 'MACS' CARD IN CONTROLI I I FILE 'fn ft fm'
is displayed and control returns to the CMS command environment with a
return code of 32 in register 15. ID is stacked in the terminal input I stack. I I I If the MACS control card is invalid, BATCTLC
the message
DMSUPD183E INVALID CONTROL FILE CONTROL CARD
is displayed and control returns to the CMS command environment with a
return code of 32 in register 15.
2 See Diagram 7-8. DMSUPD 3 If a 'MACS' record is read, the file is DMSUPD completely processed. The control
file is closed. If this MACS card does not have an item number identical to that of the MACS control card originally read, the control file contains duplicate MACS control cards. The message
DMSUPD179E MISSING OR DUPLI-
CATE 'MACS' CARD IN CONTROL FILE 'fn ft fm' I I I I Diagra. 7-1. 8ultiple Update Procedure Chapter 1. Procedures for Generating ana Updating V8/310 131
Input Processing Output
Notes Module
1 The control file is read from the bottom DMSUPD up. If the control record is valid, the
message
DMSUPD183E INVALID CONTROL FILE CONTROL CARD
is displayed, and control returns to the CMS command environment with a
return code of 32 in register 15. If the PTF or update file is not found,
control returns to the read routine
(CTLREAD). If the file is found and
the update is not being performed in
storage, the message DMSUPD1781 UPDATING 'fn ft fm' I WITH 'fn ft fm'
is displayed and an entry is made in
the UPDATES file. If the update is
being performed in storage, free storage
is acquired to contain the input file.
The message DMSUPD300E INSUFFICIENT STOR- AGE TO BEGIN UPDATE
is displayed if the input file is too
large for the acquired storage. If the STOR option was not specified
explicitly, the message
DMSUPD304E UPDATE PROCESSING WILL BE DONE USING DISK is also displayed. If the STOR option
was specified, control returns to CMS with a return code of 40 in register 15. If processing continues, the input file is read into the acquired storage, the
message DMSUPD1781 UPDATING 'fn ft fm' WITH 'fn ft fm'
is displayed, and an entry is made in
the UPDATES file. If PTF or normal update, update theor UPDATES file, perform single-level 0
update (see Diagram 7-9 for details)
and return to read the control file_ 2 If auxiliary file, update the UPDATES file, perform update (see I Diagram 7-9 for details). and return
to read the next auxiliary record.
At end of auxiliary file, read
control file.
Label Ref Notes
CTLGETM Then a branch to the SINGUPD routine transfers control to the single
CTLREAD update routine. After the update is
BADCTLC
performed, control returns to CTLCONT
2 DMSUPD checks that the auxiliary file
exists. If not, control returns to the
read routine (CTLREAD). If the
auxiliary file is found, it is read from
CTLlPTF
the bottom up.
CTLOCUP If the PTF file within the auxiliary file
is not found, the message
CTLUMSG DMSUPD180W MISSING PTF FILE 'fn ft fm' CTLUMSS is issued. The RETCODE value is set
to 12 if it has not been set higher previ- Processing continues with the
next record from the auxiliary file
(AUXREAD).
When a valid record is read from the
SMALLCOR auxiliary file, the message DMSUPD1781 UPDATING 'fn ft fm' WITH 'fn ft fm'
is displayed and an entry is made in the UPDATES file. Then the SINGUPD routine applies the update. After the
update is performed, control returns IMPLICIT to CTLCONT which retums control to
AUXREAD. This loop continues until
the entire auxiliary file is processed.
At the end of the auxiliary file. the
file is closed and control returns to the
control file read routine (CTLREAD). If an invalid card is found in the
auxiliary file, the message CTLUMSS DMSUPD183E INVALID AUX FILE CONTROL CARD
is displayed and control returns to the CMS command environment with a
return code of 32 in register 15. Diagram 7-8. Control Record processing
138 IB! V!/370 Service Routines Program Logic
UPDATE
Log Module DMSUPD Label Ref AUXFIND NOFILEW CTLUMSG CTLUMSS AUXREAD AUXFINT BADAUXC
Previous Page Next Page