BASE 02BO YER 03CC data
or you can omit the BASE control record, subtract the CSECT start address from the address of the data, and issue: YER 011C data
This also applies to the disp operand of the REP control
record.
Note: If the YER control statement references a TITLIB file that contains ORG statements causing more than one occurrence
of an address, only the first occurrence is tested when the
displacement on the VER statement references the ORG statement
addresses.
The REP control record .odifies instructions or data at the specified
location within the CSECT that you specified in a preceding Il!E control
record. The data specified in the REP control record replaces the data
at the CSECT location specified by the disp operand. This replacement is on a "one-for-one" basis; that is, one byte of data defined in the
control record replaces one byte of data at the location that you specified. If the reFlacement fails, the program does not perform additional REP operations until it encounters another BAftB control
record. The REP control record is oFtional. !ore than one REP record can
follow a single NAME record.
The format of the REP control record is:
REP disp data
disp is the hexadecimal displacement of the data to be replaced
from the start of the CSECT, if you did not submit a B1SE control record for this CSBCT. If you did submit a B1SE control record, then disp is the actual location of the data.
The disp .ust be two, four, or six hexadecimal digits. This
displacement need not address a fullvord boundary. If this
displacement value is outside the limits of the CSECT being
modified, the program does not perform the replacement
operation.
data is the data that is to replace the data in the CSECT. This must be an even number of hexadecimal digits. !Qte: Although you do not have to
data, you should do so to make sure you expect it to be.
verify a location before replacing
that the data being changed is what Section 4. Vft/370 Service Programs 205
The LOG control record allows the user to specify a unique fix number
for the .odule specified in the BAME control record. Fix numbers are
recorded in a log file associated with the named .odule. The format of
the LOG control record is:
r , LOG {fixnum} I filetype (user data] I I !!E10 G I L fixnum specifies the number associated with the fix. Its length may vary from one-to-eight alphameric characters.
filetype specifies the file type of the log.
filetype defaults to ZAPLOG. If not specified,
user data specifies any data that the user wishes to enter into the log.
If user data is specified, the filetype operand is mandatory.
Bote: The LOG control record is optional and is allowed only
if valid liME and REP control records are found. The file
name iobtained by the log routine from the .odule named in the BAME control record.
The ZAP program ignores comment control records. If the PRIIT option is
in effect, the program prints the comments. The format of a comment record is:
The asterisk must be followed with at least one blank before you enter
the text.
The END control record ends ZAP The END record and .ust be the last control record. The format of the
record is:
END
206 V8/370 Operator's Guide
is required EID control
Previous Page Next Page