COZZI-End SPOOL Print Monitor (ENDPRTMON)
The End Print Monitor (ENDPRTMON) command modifies the current job or system so that print monitoring no longer occurs. It does so by removing the QIBM_NOTIFY_CRTSPLF environment variable. When LEVEL(*JOB) is specified, the job running the command has its print monitoring ended. When LEVEL(*SYS) is specified, the system environment variable QIBM_NOTIFY_CRTSPLF is deleted and all print monitoring ends.
||Optional, Positional 1
||Print Monitor Data Area
||Single values: *NONE
Other values: Qualified object name
|Optional, Positional 2
|Qualifier 1: Print Monitor Data Area
||Name, QPRTMONUSR, *DFT
|Qualifier 2: Library
Monitor Level (LEVEL)
Specify the environment level (*JOB or *SYS) to remove the QIBM_NOTIFY_CRTSPLF environment variable. Removing this variable ends print monitoring for this job when LEVEL(*JOB) is specified, or for all jobs when LEVEL(*SYS) is specified.
- The QIBM_NOTIFY_CRTSPLF environment variable is removed from the environment for the job running the ENDPRTMON command. New SPOOL Files created in this job are no longer added to the data queue associated with the QIBM_NOTIFY_CRTSPLF environment variable.
- The QIBM_NOTIFY_CRTSPLF environment variable is removed from the system level environment. All print monitoring ends after the current SPOOL File (if any) has finished being processed by the print monitor.