The following data exit service program routines are available for handling data during the CPYACTF command process.
PRDATAINIT routine
This routine handles the call from the Data Initialize Exit Point. Table 10 identifies required parameters:
Parameter |
Description |
Format and size |
---|---|---|
1 |
Source file name and library |
CHAR(20) |
2 |
Target file name and library |
CHAR(20) |
3 |
Source member name parameter |
CHAR(10) |
4 |
Target member name parameter |
CHAR(10) |
5 |
Member option |
CHAR(10) |
6 |
Format option 1 |
CHAR(10) |
7 |
Format option 2 |
CHAR(10) |
8 |
Create file option |
CHAR(4) |
9 |
Data exit program name and library |
CHAR(20) |
10 |
Control exit program name and library |
CHAR(20) |
11 |
Copy group key |
CHAR(10) |
12 |
Interval status |
CHAR(4) |
13 |
Compress out deleted space |
CHAR(4) |
14 |
Acquire lock on source file |
CHAR(4) |
15 |
Source data buffer length |
INTEGER |
16 |
Source null map length |
INTEGER |
17 |
Target data buffer length |
INTEGER |
18 |
Target null map length |
INTEGER |
PRDATAXFER routine
This routine handles the call from the Data Transfer Exit Point. Table 11 identifies required parameters:.
Parameter |
Description |
Format and size |
---|---|---|
1 |
Source member name |
CHAR(10) |
2 |
Source data buffer |
Bytes of the length specified in the Source buffer length field, from the Data Initialize Exit Point. |
3 |
Source null map |
Bytes of the length specified in the Source null map length field, from the Data Initialize Exit Point. |
4 |
Source relative record number (RRN) |
INTEGER |
5 |
Target member name |
CHAR(10) |
6 |
Target data buffer |
Bytes of the length specified in the Target buffer length field, from the Data Initialize Exit Point. |
7 |
Target null map |
Bytes of the length specified in the Target null map length field, from the Data Initialize Exit Point. |
8 |
Target relative record number (RRN) |
INTEGER |
PRDATAFINA routine
This routine handles the call from the Data Finalize Exit Point. This routine has no parameters and will ignore the return code.