EXIT_CALL_RESULT
EXIT_CALL_RESULT is set by the user exit routines and tells the caller how to respond when each exit call completes. The following results can be specified by the operator’s routines.
| Result | Description |
|---|---|
EXIT_ABEND_VAL |
Instructs the caller to ABEND immediately. |
EXIT_IGNORE_VAL |
Reject records for further processing. IGNORE is appropriate when the exit performs all the desired processing on a record and there is no desire to output or replicate it. |
EXIT_OK_VAL |
If the routine does nothing to respond to an event, OK is assumed. If the call specified PROCESS-RECORD or DISCARD-RECORD and OK is returned, the caller processes the record buffer returned by the user exit and uses the parameters set by the exit (see the EXIT-REC-BUF parameter for details). |
EXIT_STOP_VAL |
Instructs the caller to STOP immediately. STOP or ABEND may be appropriate when an error condition occurs in your program, such as a file error. |