Return codes

For initialization and termination, the return code is either zero for success, or non-zero indicating a severe error has occurred and File Manager is to be terminated.

For scramble, the exit can return codes as described in the control block.
0
Instructs File Manager to update the output field with the value return. If the value passed to the exit was formatted numeric, then File Manager treats the value returned from the exit as a formatted numeric which is converted to the internal format before updating the field.
1
Instructs File Manager to perform random scrambling on the field. Any scrambling value or range specifications are used. The output field value is ignored.
2
Instructs File Manager to perform repeatable scrambling on the field. Any scrambling value or range specifications are used. The output field value is ignored.
3
Instructs File Manager to perform translate scrambling on the field. For this return code to be valid, you must have specified a value data set (Dsn), column in and column out values (In and Out), as well as selecting the Value option. If you have not provided these options for the field, then the copy process is terminated with an error.
8
The scramble exit being called does not support the input field type. The process is terminated with an error message.
10
The scramble exit being called has found an invalid input field value. The process is terminated with an error message.
16
Severe error - terminate.
Note: Any other return code is interpreted as a severe error that terminates processing.