Output
TEXT record,------. If the start of the record does not
follow the end of the previous
record, put out blanks for the
missing characters.I II; » () I II > 1_ 2 If 'ALL' was specified and this is the first line, put out the CSECT I <f name. I PRTBUF
3 Set up the print line.I I L----I _---'I I :> TEXT record i CSECTNAM I II I I I II I I HOLDLINE 4 Output the print line. I I I Notes
1If the start of a new record does not
match the end of the previous record,
or the requested start of the dump is
not found, insert blanks in the outputI I record to represent the bytes not in the
tile.If 'ALL' was specified and this is the
firstline of the CSECT, output the CSECTname. 3 If a line has been started, finish the
line.If not, set up the new line. Determine the address of the new line,
check that the line does not exceed
the requested end of the dump, and
move characters from the record into
the line.If the line does exceed the
requested end of the dump or the
record is exhausted, fill the output
line as much as possible, convert its
characters for printing, and save the
pointers. Return control to caller.
4 When the line is ready for printing,
convert the non-printing characters to
periods, and compare the line to the
previous :;ne.If there is a match, save the address of the current line. If there is no match. and addresses
have been saved, print the message
LINES xxxTO xxx SAME AS ABOVE. Otherwise, print the line and save it
inHOLDINE. Module Label DMSZAP PRTDUMP
SETBLANKDMSZAP INEWLIN PRTHDR DMSZAP FINLINE NOFSTLN SETADD
SETHXLN
SETHXLNACHARCONV PRTRDNXT DMSZAP CHARCONV PRTLINE
CHKDUPNOTDUP PRTLlN2
Diagram10-9. Printing the Dump
Ref NotesI I I I Iii < I II trlD I HOLDLINE Module Label I I I I I I I Ref
Chapter10. The ZAP Service Program 205
TEXT record
follow the end of the previous
record, put out blanks for the
missing characters.
3 Set up the print line.
1
match the end of the previous record,
or the requested start of the dump is
not found, insert blanks in the output
tile.
first
line.
check that the line does not exceed
the requested end of the dump, and
move characters from the record into
the line.
requested end of the dump or the
record is exhausted, fill the output
line as much as possible, convert its
characters for printing, and save the
pointers. Return control to caller.
4 When the line is ready for printing,
convert the non-printing characters to
periods, and compare the line to the
previous :;ne.
have been saved, print the message
LINES xxx
in
SETBLANK
SETHXLN
SETHXLNA
CHKDUP
Diagram
Ref Notes
Chapter