The DUMP control record allows you to dump a portion or all of a
specified control section, or the complete member or module. The format
of the output of the duap is hexadeciaal with an EBCDIC translation of
the hexadecimal data.
The DUMP control record is optional.
record is:
The foraat of the DUMP control I I r
, I IDUMP I {
me.bernaae}
Icsectname [startaddress [endaddress]] modulenaae IALL I I I I I !here: aeabernaae L .J
is the name of the meaber to be dumped, or the member that
contains the CSECT(s) to be dumped. This memter must be found in one of the libraries specified in the ZAP command line.
However, if the library is a CMS TITLIB, its directory does
not contain member naaes. Therefore, the program ignores the meaber naae (although you aust specify it), and the program searches for the csectnaae (which you must specify).
is the naae of the aodule to be dumFed, or the aodule that
contains the CSECT(s) to be dumped. If you specify a aodule that has no loader table, the program duaps the entire aodule.
csectname is the name of the control section that is to be dumped. If
you do not specify csectnaae, the program dumps only the first CSECT. The csectnaae is required for CMS TITLIBs, optional
for OS TITLIBs, L01DLIBs, and MOIULE files. (See the
di"scussion of csec-tname und"er "Bame Control Record. ") You .ust
not specify csectnaae for a module created with the ROMAP option.
ALL specifies to the program to dump all CSECTs within the
specified aember or module. You can specify ALL for MODULE L01DLIBs, and OS TEXTLIBs, but not for CftS TXTLIBS. If
you wish to duap all the CSECTs in a mesber of a CMS TITLIE,
you must issue a separate DUMP control record for each CSECT. startaddress
endaddress
is the location within the specified CSECT where the dump is
to begin. This must be two, four, or six-hexadecimal digits.
The start address is the displacement from the beginning of the eSReT: For example: if you wish to start dumpina at
address 08 in a CSECT that begins at location 400, you-specify start address 08, not 0408. is the last address to be dumped. This must be two, four, or six-hexadecimal digits. If you specify no address, the
program dumps froa the start address of the CSECT to the end
of the CSECT. Note that start and end addresses apply only when you specify a csectname. 202 '"1370 Operator's Guide
The NAME control record specifies the me.ber or module and CSECT that
contain the data to be verified or replaced by the ZAP operation. The format of the NAME control record is: HA!E !here:
{ meabername } [csectna lie] modulename { Ilembernaille }
lIlodulenalle
is the member or module that you want to be searched for the
desired CSECT. csectname is the name of the desired control section. You must specify
csectname if the CSECT you wish to modify is in a CftS TITLlB
(that is, TITLIB created by the TITLIB command from CftS TEXT decks that do not have a NAME card following the END card). The directory of a cas TXTLIB contains only CSECT names and no
.ember names. The CSECT name specified in the HAKE record is
compared with CSECT names in the directory. If a CSECT match
is found and no member name match is found, the member selected is the one that contains the CSECT name. ,The csectname is optional if the CSECT you wish to modify is a
LOADLIB or an OS TITLIB (that is, a TITtlE created by the TXTLIB command from CMS TEXT decks that have a NAME card after
the END card). The dictionaries of the specified libraries
are searched for the member name and the member is then
searched for the CSECT name, if you specified one. If you do
not specify csectname for a LOADLIB or an OS TITtIB, the
program uses the first control section. The csectname is
optional for a MODULE file. The module named in the NAME control record is located and, if you specified csectname, the
first record is read to determine the number of records in the module and the availability of a leader table, which the
program can then search for the csectnalBe. If you do not
specify csectname, the program uses the beginning location of
the module. You are not allowed to specify csectname if the
module was created with the HOMAP option. The NAftE control
record must precede the BASEl VER, and REP control records.
If it does not, the program sets the NOGO switch on.
The BASE control record adjusts displacement values for subsequent VED or REP control records for a CSECT whose starting address is not
location zero in an assembly listing. The foraat of the BISE control
record is: BASE address Section 4. VM/370 Service Prograas 203
Previous Page Next Page