Control exit point identifier
This parameter identifies the control exit point that is passed to the control exit program. This value allows the control exit program to determine from which exit point it is being called. The following values are possible:
0000 |
Initialization exit point |
0010 |
Copy finalize exit point |
0100 |
Interval status exit point |
0110 |
Transfer complete exit point |
0120 |
Lock failure exit point |
0130 |
After lock exit point |
0140 |
After journal delete exit point |
9999 |
Copy failure exit point |
Control area structure version string
This four-character string indicates the version of the control area structure that is being used. This string always contains the value “0101”.
Length of the control area structure
This value is the length, in bytes, of the control area structure parameter.
Control area structure
The value of this parameter is the format of the structure passed to the control exit program. Only the last three fields of the structure should be modified by the control exit program. The control exit program must set the return code field. The control area structure is as follows:
Field |
Format and size |
---|---|
Source file name and library |
CHAR(20) |
Target file name and library |
CHAR(20) |
Source member name |
CHAR(10) |
Target member name |
CHAR(10) |
Member option |
CHAR(10) |
Format option 1 |
CHAR(10) |
Format option 2 |
CHAR(10) |
Create file option |
CHAR(4) |
Data exit program name and library |
CHAR(20) |
Control exit program name and library |
CHAR(20) |
Copy group key |
CHAR(10) |
Interval status |
CHAR(4) |
Compress out deleted space |
CHAR(4) |
Acquire lock on source file |
CHAR(4) |
Total records transferred |
INTEGER |
Initial number of records in the source file |
INTEGER |
Member that could not be locked |
CHAR(10) |
(Padding for alignment) |
2 bytes |
Number of retry attempts before a lock failure occurs |
INTEGER (Field can be modified by the Control exit program) |
Number of seconds between retries of lock attempts |
INTEGER (Field can be modified by the Control exit program) |
Return code |
INTEGER (This field must be set by the Control exit program) |