How to edit/create exit points…
Use the WRKREGINF command at the simplest level. In addition, the ADDEXITPGM and RMVEXITPGM commands may be used.
From ADDEXITPGM, note the help for the EXITPT() parameter:
- Specifies the exit point name to which the exit program is added. If no exit point by this name exists, and CRTEXITPNT(*YES) is specified, an exit point is created.
A created exit point will not be registered until and unless the Register Exit Point (QUSRGPT, QusRegisterExitPoint) API is called to register it.
Review the Registration Facility APIs for a basic understanding of “registered” and “unregistered”. If you create an exit point, you might prefer that it remains unregistered.