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
Directory
Figure 10-2 is an alphabetical list of the aajor labels of the ZAP program. The
associated method of operation diagrams are
indicated and a brief description of the
operation performed at point in
program associated with each label
included.
Label
BASEREC CHKLDTBL CHKMEM CLOSELIB CLOSINP CLRSPCE COIEID COISOPT DECODE1 DECODE2 DMSZAP DOiTO DUMPREC FDEFllP FIIDMEM FNDCLNTH INlTOPEN lNPTOPT lNVEREP NAMEREC NAMFOUND NEiLIN Diagram 10-4 10-6 10-6 10-6 10-5 10-5 10-5 10-2 10-4 10-5 10-4 10-5 10-1 10-3 10-2 10-6 10-6 10-1 10-2 10-2 10-4 10-2 10-9 Description Processes a BASE control Scans for displacement.
Locates a CSECT (for a module file) if a naae is given. Checks for a member, or, if a CMS TITtlB, for a CSECT. Finishes the specified library or module. Closes the input file. FREEMAlls buffer space.
Processes an END control record. Sets the TERM option. Checks that a field is less than six digits. Checks that a field is an even number of digits. Saves the input registers and sets addressability.
Does a write-to-operator for messages when in terminal mode.
Gets the location of the dump and prints it. FILEDEFs the input DCB and opens it.
Locates the of a meaber. Locates the boundary of a CSECT. Opens input (if specified) and output (printer) files. Sets the INPUT option. Processes the error message for an invalid control record
and closes the SYStlB file.
Processes a NAME control record. Scans for the .eaber name
and CSECT name. Branches to the appropriate routine when a keyword is found
in the table. Prints full lines.
Figure 10-2. The ZAP Prograa Label Directory (Part 1 of 2)
the
is
, I , Chapter 10. The ZAP Service Progra. 207
Previous Page Next Page