Data exit point identifier
This parameter identifies the data exit point that is passed to the OPM data exit program. This value allows the data exit program to determine from which exit point it is being called. The following values are possible:
0010 |
Data initialize exit point |
0020 |
Data finalize exit point |
0100 |
Data transfer exit point |
Data area structure version string
This four-character string indicates the version of the data area structure that is being used. This string always contains the value “0102”.
Length of the data area structure
This value is the length, in bytes, of the data area structure parameter.
Data area structure
The value of this parameter is the format of the structure passed to the OPM data exit program. The target data buffer, target null map, and return code must be set by the data exit program and are the only fields that the data exit program should change. The OPM data 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 parameter |
CHAR(10) |
Target member name parameter |
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) |
Source buffer length |
INTEGER |
Source null map length |
INTEGER |
(Padding for alignment) |
4 bytes |
Target buffer length |
INTEGER |
Target null map length |
INTEGER |
Source member name |
CHAR(10) |
Source data buffer (See Note) |
Bytes of the length specified in the Source buffer length field. |
Source null map (See Note) |
Bytes of the length specified in the Source null map length field. |
Source relative record number (RRN) |
INTEGER |
(Padding for alignment) |
12 bytes |
Target member name |
CHAR(10) |
Target relative record number (RRN) |
INTEGER |
(Padding for alignment) |
12 bytes |
Target data buffer (See Note) |
Bytes of the length specified in the Target buffer length field. (This field must be set by the data exit program) |
Target null map (See Note) |
Bytes of the length specified in the Target null map length field. (This field must be set by the data exit program) |
Default target data buffer (See Note) |
Bytes of the length specified in the Target buffer length field. |
Default target null map (See Note) |
Bytes of the length specified in the Target null map length field. |
Return code |
INTEGER (This field must be set by the data exit program) |
(Padding for alignment) |
14 bytes |