Method of Operation
The method of operation diagrams describe
the execution of the ZAP program and show
the processing associated with: Verifying and replacing data in a CSECT. Dumping a CSECT, member, or module.
The relationship of the method of
operation diagrams is shown in Figure 10-1. Diagram 10-1 describes the execution of
the ZAP program.
Diagram 10-2 shows the ZAP command and
control record processing.
Diagram 10-1
Overview of the
ZAP Program l Diagram 10-2
ZAP Initialization and Control Record Processing I .- Diagram 10-3 describes tbe Frocessing of
the DUMP function.
Diagrams 10-4 and 10-5 describe the
processing for modifying data in a CSECT.
Diagrams 10-6 and 10-7 proper CSECT is located
modifying.
describe how the
for dumping or
Diagram 10-8 shows how a file is read
for dumping or modifying. Diagram 10-9 describes how a dump is
printed. Diagram 10-3 Diagram 10-4 Diagram 10-4 Diagram 10-5 Diagram 10-5 DUMP Control BASE Control NAME Control END Control VER!VERIFYor Record Processing Record Processing Record Processi ng Record Processing REP Control Record Processing I Diagram 10-6 Diagram 10-8 Diagram 10-6 Diagram 10-8 Opening the Reading the Opening the Reading the File Text File Text 1 1 1 Diagram 10-7 Diagram 10-9 Diagram 10-7
Finding the Printing the Finding the CSECT Dump CSECT Figure 10-1. Key to the ZAP Program Method of operation Diagrams
196 IBM VM/370 Service Routines Program Logic
PL!ST __ ____ Conteol ,nteffi ITom DMSITS. 2 Initialize fields and locate the
input file (if one is specified).
(See Diagram 1 ().2 for details.)
Notes
1 Control enters DMSZAP from DMSITS. Register 1 points to a PLiST that
contains the type of file to be operated on, libraries to be used if applicable, __ ...I -, __ ..1. __ 1 .. &. .... _ : .......... + ....... ..J ........ + ..... +- dliU t,;UlIlIUI;) IVI IIltJUL ailU VUl.tJUI. operations.
2 Initialize fields and pointers and
verify input and output options.
Locate the input file if an input file
is specified. Otherwise, request input
from the terminal. Module DMSZAP I DMSZAP 3 Read a control record. Find the DMSZAP routine needed to perform the function
specified by searching a table of
control record keywords.
4 Perform the specified function. At
its end, return control to READINP to read another control record.
5 When the END control record is read, return control to DMSITS. DMSZAP DMSZAP 3 Read a control record. (See
Diagram 10-2 for details.)
4 Perform the specified function.
(See Diagrams 10-3, 10-4, and 10-5 for detai!s.)
5 At end, return control to DMSITS. Label Ref Notes DMSZAP II INITOPEN FDEFINP READINP Diagram 10-1. Overview of the ZAP Prograa Module Label Ref
Chapter 10. The ZIP Service Frogram 197
Previous Page Next Page