The following codes can be returned to the control exit point from either a control exit program or a control 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 control area structure that is passed to the program:
Control exit return codes
Action |
Value |
Implied usage for CPYACTF |
Continue |
0 |
Continue the copy |
Retry |
1 |
Redo the current step, then retry this exit point |
Stop |
2 |
Stop copy, but no error was reported |
Error |
3 |
Stop copy, an error was reported |