Parameter list

The parameter list that is passed to the precopy exit.

Log record, work area

Precopy exit parameters below shows how you find the parameters from the contents of register 1.

Figure 1. Precopy exit parameters
This figure lists the contents of the registers passed to the precopy exit used with the CICS VR archive or log stream copy utilities. Register 1 contains the address of the parameter list. The first fullword in the parameter list points to the log record. The second fullword in the parameter list points to the work area. Register 13 contains the address of the register save area. Register 14 contains the return address. Register 15 contains the exit program start address.

The figure shows the precopy exit parameters when the exit is defined without the OLD keyword. This is the recommended way to define the exit. With the OLD keyword specified, there is an extra level of indirection. "Log record" in the figure is the address of the log record, and "Work area" in the figure is the address of the work area. The OLD keyword allows compatibility with exits written for earlier CICS® VR releases, such as CICS VR V3R3 and below, and CICS VR V4R1 without apar PK28852 applied.