Table 7 identifies codes can be returned to the data exit point from either a data exit program or a data exit service program. The return codes are all integer variables. Service routines specify the return code value on the return from the routine. Programs need to set the return code value in the data area structure that is passed to the program.
Data exit return codes
Action |
Value |
Implied usage for CPYACTF |
Continue |
0 |
Continue the copy |
Stop |
2 |
Stop copy, but no error was reported |
Error |
3 |
Stop copy, an error was reported |