1 An update card is read and checked.
an invalid control card is read, the
message
DMSUPD207W
is issued. The value of R
to
invalid card.
2 DMSUPD checks the resequence card.
card in the update
DMSUPD184W
to 12 if it has not been set higher prev-
iously. The
processing continues.
of the sequence fields, the message
DMSUPD185W INVALID
is issued. The value of
to 12 if it was not set higher previously.
The'
continues.
if the specified sequence increment
DMSUPD182W
set to 8 if it has not been set
the file is resequenced with a sequence
increment of zero.
Processing
2 Handle the resequence control
statement.
3 Handle the insert control statement.
(See Diagram
4 Handle the delete control statement. n
5 Exit when all update control cards
are processed.
if singie update. j.
7-11
!f
7-7
is set to 5 or 8 characters depending
on the options specified
resequencing and the next update con-
trol card is read (UPDREAD).
The indicated cards are removed. The
control statement and the message
are sent to the
delete is being performed in storage,
the records in storage are rechained,
eliminating the deleted records.
Updated
Assembler
Source
Program
Module
DMSUPD
DMSUPD
5 When all the update control cards are
routine takes its error exit (UPDFERR)
The UPDFERR routine branches to
the INPUTRD routine on an end-of-file
condition to flush (write out) the rest
of the input source file if the update
was not performed in storage.
update was performed in storage, and
resequencing is requested, a logical
replace is done on each line in the file.
The error exit (lNPFERRris taken
from the INPUTRD
file and the input file.
control file (multiple update). control
returns to CTLCONT.
single-level update is complete and
control is returned to
exit routine).
Diagra. 7-9. Single
Chapter