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
Data Areas
Tbe File Status Table is used by the DMSZAP module: ,., 4 Bytes .. I Filename -1 Filetype 1,· 1 DATE LAST WRITTEN (Note 1) 20 Write Pointer 22 Read Pointer
Relative Record Number Relative Record Number
24 26
Number of
Filemode
Records in File
28 Disk Address 30 Fixed
. 1
31
Flag of First Chain Link Variable (Note 2) Byte (Note 3)
32 Record Length (F)
Maximum Record Length (V)
36 Number of
Year (Note 4) 800-Byte Data Blocks
Notes:
1. Date last written is in packed decimal format MM DO HH MM;
for example, 02 20 14 07 represents February 20, 2:07 p.m.
2. F = Fixed-length records. V = Variable-length records.
3. Flag Byte = 0 4. Year is in character form; for example, '72' for 1972.
Figure 10-3. File Status Table Entry Chapter 10. The ZAP Service Program 209
Previous Page Next Page