A single data exit program is called to handle each of the data exit points. The Copy Active File (CPYACTF) command expects an integer return code to be placed in the data area structure, which is passed as a parameter to the data exit program. The data exit program must determine which exit point it is being called from by testing the value of the data exit point identifier, which is passed as a parameter to the data exit program.
Table 8 identifies parameters are passed to the data exit program:
Parameter |
Name |
Format and size |
---|---|---|
1 |
Data exit point identifier |
CHAR(4) |
2 |
Data area structure version string |
CHAR(4) |
3 |
Length of the data area structure |
INTEGER |
4 |
Data area structure |
Pointer to the data structure |