CDBUF
DUMP
Notes Module
1 Retrieve the member name or moduleDMSZAP name, if specified, from the control
record.If an error is encountered,
issue the messageDMSZAP201W !NVALID CON- TROL RECORD OR NO GO SWITCH SET Continue by reading another centro!
record.
2If starting and ending addresses are DMSZAP specified, retrieve them from the
control record, check them for
validity, and convert them into hexa-
decimal digits.If either of the
addresses is not an even number of
digits, issue the messageDMSZAP203W - ER RO R - ODD NUMBER OF DIGITS - SET NO GO SWITCH and continue by reading another con-
trol record:
3 Go to the open routine (PREOPLlB)DMSZAP to locate the member or module
and theCSECT desired.
4 Use the starting and ending addressesDMSZAP of the CSECT to determine the length
of the dump if not otherwise specified.
Go to the read text routine to read the
file (RDTXT) and then to the print
dump routine (PRTDUMP).j,OCOSSin
g >
Retrieve the member name or
module name and, if specified,
theCSECT name.
2If starting and ending addresses
aiespecified, check validity and
convert to hexadecimal.
3 Locate the file.
A.Open the file.
B. Find theCSECT. (See Diagram 10-6 for details.)
4 Dump the file.
A. Read the file.
(SeeDiagram 10-7 fer detai!s.)
B. Print the file.
(See Diagram10-8 for details.j
Label Ref Notes
DUMPRECIf all CSECTs are requested, return
control to step 3. When the request
DUMPERR is satisfied, read another control
record (see Diagram10-2, Step 4). I I DMPNTALL SCANKEYl DECODE1 PACKVAL INVEREP2 DMPCSECT PREOPl..iB STSTART GORDTXT RDTXT
PRTDUMPPACKADDS PACKADDE Module Label Ref READINP I I I I Diagram 10-3. DUMP Control Record Processing Chapter 10. The ZAP Service Program 199
DUMP
Notes Module
1 Retrieve the member name or module
record.
issue the message
record.
2
control record, check them for
validity, and convert them into hexa-
decimal digits.
addresses is not an even number of
digits, issue the message
trol record:
3 Go to the open routine (PREOPLlB)
and the
4 Use the starting and ending addresses
of the dump if not otherwise specified.
Go to the read text routine to read the
file (RDTXT) and then to the print
dump routine (PRTDUMP).
g
Retrieve the member name or
module name and, if specified,
the
2
aie
convert to hexadecimal.
3 Locate the file.
A.
B. Find the
4 Dump the file.
A. Read the file.
(See
B. Print the file.
(See Diagram
Label Ref Notes
DUMPREC
control to step 3. When the request
DUMPERR is satisfied, read another control
record (see Diagram
PRTDUMP