Functions to use with care in trigger programs
Some control language (CL) commands and functions are not recommended in a trigger program and need to be carefully considered if they are to be used. These CL commands and functions are:
- STRCMTCTL (Start Commitment Control)
- RCLSPLSTG (Reclaim Spool Storage)
- RCLRSC (Reclaim Resources)
- CHGSYSLIBL (Change System Library List)
- DLTLICPGM, RSTLICPGM, and SAVLICPGM (Delete, Restore, and Save Licensed Program)
- SAVLIB (Save Library) with SAVACT other than (*NO)
- Any commands with DKT or TAP
- Any migration commands
- The debug program (a security exposure)
- Any commands related to remote job entry (RJE)
- Invoking another CL or interactive entry—might reach lock resource limit.
Parent topic:
Precautions to take when coding trigger programs