COZZI-End SPOOL Print Monitor (ENDPRTMON)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

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.

Top

Parameters

Keyword Description Choices Notes
LEVEL Monitor Level *SYS, *JOB Optional, Positional 1
DTAARA 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 Name, *LIBL
Top

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.

*JOB
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.
*SYS
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.
Top
Top

Examples

None
Top

Error messages

Unknown
Top