where:
LLLL is a two byte field containing the length of the data field
DATA ADDR is a four byte pointer to the data field to be included on the
spool file.
Note: There are no boundary requirements for the 8-byte parameter list.
An example of acceptable logic: where '3' is the individualizing code, and
DATAFLD is the address of the data.
BAL
*
DC
DC
DC
MC
Passing CP Data to the CPTRAP File
AL2(3)
AL4(DATAFLD)
2 BYTES
2 BYTES
4 BYTES
To insert the CP interface into the problem area, insert the code into the source,
reassemble the particular source module, and regenerate the system. You can also
use the
no restrictions on the number of interfaces that may be active at the same time.
The interface is via a BALR
address of
CPTRAP logic via PSA(TRAPCP); if not, a return is immediately taken to the
caller.
Register 1 must contain a pointer to the parameter list that contains the length of
the data, an individualizing code, and a pointer to the data. The data must be 264
bytes or less, and reside in real storage. If the length is greater than 264 bytes,
only the first 264 are taken with no indication that the data length was truncated.
The individualizing code exists so that CP interface data may be identified at data
reduction time. It is the user's responsibility to make it a unique indication of
where the zap was inserted.
Eight bytes of data are added by CP as a header for the CP interface record. The
first byte is set to X'3F' to indicate CP interface data, the second is reserved. The
third and fourth bytes contain the individualizing code, the fifth and sixth bytes
contain the total length (data length plus 8), the seventh and eighth bytes are
reserved and are immediately followed by data.
Care must be taken where the trap is inserted. If a condition code is set which has
not yet been interrogated, the inserted interface logic must assure that the condiĀ
tion code is saved or unchanged. The CP interface logic within CPTRAP does preĀ
serve the condition code setting.
Performance Observation and Analysis 63