Modifying Function Options › Identifying Standard Function Options › Generate Exception Routine
Generate Exception Routine
This option specifies whether code for an exception handling routine (*PSSR) should be generated in the program that implements the function. This provides an opportunity for you to add user-defined exception handling. The default value for new functions is specified by the model value YERRRTN.
- If Y is specified, source code is generated that implements an error handling routine. In this case, all files in the program open explicitly using the OPEN operations. The *PSSR routine contains a call to the CA 2E supplied program, Y2PSSR. The source for this program is in QRPGSRC in Y2SYSRC and can be adjusted to supply specific error handling.
- If N is specified, source code is not generated for an error handling routine.