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
r I Latel NOMORE NOPRTOPT OPENFILE PREOPLB1 PREOPLB4 PREOPLIB PRINTOPT PRTCARD PRTDUMP PRTHDR PRTLINE RDCARD
RDCARD2
RDLDLIB
RDLIB RDTXT RDTXTLIB READCESD READINP SCANKEYl SCANLINE
SEARCHSD
SET BLANK
STFDEF TABLOOK TXTESD WRCARD WRLIB Diagram 10-5 10-2 10-6 10-6 10-6 10-6 10-2 10-9 10-9 10-9 10-2 10-2 10-8 10-7 10-8 10-8 10-7 10-2 10-2 10-2 10-7 10-9 10-6 10-2 10-7 10-2 10-8 Description
Gets the error code and prior save area address, restores
the registers, and returns to DMSITS. Sets the NOPRINT option.
Opens a library.
Gets the first library name address.
Reads a ZAP file and locates a member (CSECT for a MCDULE file if a name was given) Opens ZAP files and looks for the library name, if given.
Sets the PRINT option. Prints a card image.
prints the requested dump. prints the name of the CS!CT being du.ped.
prints a dump line.
Requests input from the terminal.
Reads an input control record file.
Analyzes LOADLIB records.
Reads the specified library or module.
Reads a library searching for the record to be verified or
replaced.
Analyzes TXTLIB records.
Reads a CESD record of a member. Reads a control from the input file. Writes the control record to the output (SYSPRliT) file. Scans the first keyword from the control record.
Scans control records.
Checks the command line for validity.
Searches a CESD record for an ESt entry with a CSECT name. Spaces over a DS area.
Issues a STATE for a library file, checks that the disk is in Read/Write mode.
Look for a keyword in the table.
Finds a TXTLIB CSECT.
writes a control record and messages to SYSPRINT file. Updates the specified library or module. L- ______________________ . ________________________________________________________________ Figure 10-2,. The ZAP Program Label Directory (Part 2 of 2) 208 IBM VM/370 Service Routines Program Logic
Previous Page Next Page