exist, the new file would be called DUMP02 NCPDUMP. The file thus
created is retained for later use unless the ERASE option is specified,
in which case the file is erased immediately after the dump is printed.
ZAP Service Program and How To Use It ZAP is a CMS command that modifies or dumps MODULE, L01DLIB, or TXTLIB files. It may be used to aodify either fixed or variable length ftODULE files. It is for use by system support personnel only.
Input control records control ZAP processing. They can be subaitted
either from the terminal or froa a disk file. Using the VER and REP control records, you can verify and replace data or instructions in a
control section (CSECT). Using the DUMP control record, you can dump all or part of a CSECT, or an entire member of a LOADLIB or TXTLIB file,
or an entire module of a MODULE file.
The format of the ZAP co.mand is: ZAP LOADLIB (libname1 ••• libname3X (option ••• ()]] {
MODULE
} MODULE L01DLIB TXTLIB libname TXTLIB .Ql!!ion§: r , r , IIPRINT I IIBPUT filenameilHOPRINTI L .J L .J
indicates the type of file that is to be modified or duaped.
is the library name contain-ing the meaber to-be .odified or duaped. You can specify one to three library naaes. The libname is valid only for L01DLIB and TXTLIB files.
r , !!RM IPRINT I INOPRINTI L .J
indicates that input to the ZAP service program is subaitted
through the terminal. If you specify TEB!, the prompting
message ENTER: is issued, and you can then enter input control
records up to 80 characters long. If you specify PRINT ¥ith all output prints on the printer, but only error
aessages display at the terminal. If you specify ROPRINT with TERM, nothing prints on the printer. All output except
control records displays at the terminal. r , INPUT filename IPRINT I I NOPRINT I L .J
specifies that input is submitted from a disk file, 200 Vft/370 Operator's Guide
This file aust have a filetype of ZAP
w
and must be a fixed BO-byte sequential file residing on any accessible device. If you specify PRIIT with IIPUT filename, all output produced by the ZAP service program prints on the printer. In addition,
com.ands and control records in error and error messages display at the terminal. If you specify NOPRINT with IIPUT filename, nothing prints on the printer. All output displays
at the terminal.
Figure 12 shows the resulting output resulting fro. valid option
coabinations: OPTIONS INPUT TER! Figure 12. PRINT Commands and control records
in error and error messages on the ter.inal. Everything
to printer. Only error messages on the
terminal. Everything on the
Printer. Valid Options and Their ZAP INPUT CONTROL RECORDS IOPRIIT Everything on the
terminal. Bothing on
the printer.
Everything except control
records on the terminal.
Bothing on the printer.
Eight types of ZAP control records exist: DU!P, IA!E, BASE, VER or VERIFY, REP, LOG, COft8EIT, and END. ZAP control records are free-form and need not start in position one
of the record but the ZAP program can accept only 80 characters of data
for each control record. Separate all information by one or more blanks. All address fields including disp (displacement) fields in VER and REP control records must contain an even number of hexadecimal digits, to a maximum of six digits (OD, 02C8, 014318). Data fields in VER and REP control records must also contain an even number of
hexadecimal digits, but are not limited to six digits.
If you wish, you example, 83256482 or
operation. may separate
8325,6482) the data anywhere by commas The commas have no effect on
(for
the
The program sets the ROGO switch on if a control record is found to be in error. A file cannot be modified once the ROGO switch is turned
on. The next valid BA!E record turns the lOGO switch off. This means
that if the control record is the IA!E record, all succeeding records
are ignored until the next BAME, DUMP, or Elt record. For any other
error, only REP control records that follow are ignored.
The DU!P control record resets the ROGO switch off. The DU!P record must not immediately precede a BASEl VER, or REP control record.
A IA!E control record must precede the BASE, VER, and REP control
records (if any) that follow a DUMP control record. Section 4. V8/370 Service Programs 201
Previous Page Next Page