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
1 If 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 output I I record to represent the bytes not in the
tile. If 'ALL' was specified and this is the
first line 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 xxx TO xxx SAME AS ABOVE. Otherwise, print the line and save it
in HOLDINE. Module Label DMSZAP PRTDUMP
SETBLANK DMSZAP INEWLIN PRTHDR DMSZAP FINLINE NOFSTLN SETADD
SETHXLN
SETHXLNA CHARCONV PRTRDNXT DMSZAP CHARCONV PRTLINE
CHKDUP NOTDUP PRTLlN2
Diagram 10-9. Printing the Dump
Ref Notes I I I I Iii < I II trlD I HOLDLINE Module Label I I I I I I I Ref
Chapter 10. The ZAP Service Program 205
Program Organization
This section contains a progra. description
of the DMsZAP .odule. DMsZAP The ZAP program. 1!.ntry f.Qint DMsZAP -- via the co •• and ZAP.
Attributes --ReUSable, not disk resident. !.ntrI R1: Address of the input parameter lis.t
R15: Address of the entry point Q§sg,g R1: Address of the input para.eter
list
R2-8: Work registers
R9: Base registers R10: Link register
B11-12: Base registers
R 13: Address of the save area
R14: Return address
R 15: Return code to tMSBRt tMsBWR tt!sERR tMsPNs tMSPRT tMsst!N tMssTT tt!ssVT Other Routines -TO reaa-input disk files.
To write output disk files as a
result of REP operation.
To handle calls fre. DMsERB and
LINEDIT .acros.
To close input and output files.
To handle PRINT command. To handle OS GET!IIN and PBEEt!IIN macros. To provide a copy of an PST. To process OS .acros. References
None.
Data Areas --File Status Tatle Exit Conditions --i15:----Return code 206 IBM VM/370 Service Routines Program Logic
Previous Page Next Page