The following control exit service program routines are available for handling processing during the CPYACTF command process.
PRCNTRLINIT routine
This routine handles the call from the Initialization Exit Point. Table 3 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 |
CHAR(10) |
4 |
Target member name |
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 |
CHAR(4) |
PRCNTRLXFERI routine
This routine handles the call from the Interval Status Exit Point. Table 4 identifies required parameters:
Parameter |
Description |
Format and size |
---|---|---|
1 |
Total records transferred |
INTEGER |
2 |
Initial total number of records in the file |
INTEGER |
PRCNTRLXFERC routine
This routine handles the call from the Transfer Complete Exit Point. Activity events may remain to be processed. This routine has no parameters.
PRCNTRLLCKFAIL routine
This routine handles the call from the Lock Failure Exit Point. Table 5 identifies required parameters:
Parameter |
Description |
Format and size |
---|---|---|
1 |
Member name that could not be locked |
CHAR(10) |
PRCNTRLAFTERLCK routine
This routine handles the call from the After Lock Exit Point. This routine has no parameters.
PRCNTRLCPYFAIL routine
This routine handles the call from the Copy Failure Exit Point. This routine has no parameters. This routine ignores the return code.
PRCNTRLFINAL routine
This routine handles the call from the Copy Finalize Exit Point. This routine ignores the return code. Table 6 identifies required parameters:
Parameter |
Description |
Format and size |
---|---|---|
1 |
Total records transferred |
INTEGER |
2 |
Total number of activity events that occurred on the file. |
INTEGER |
PRCNTRLJRNDLT routine
This routine handles the call from the After Temporary Journal Delete Exit Point. This is the final exit point that occurs. This routine has no parameters.