Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change Print Monitor Status (CHGPRTMON) command modifies the QIBM_NOTIFY_CRTSPLF environment variable so that the print monitor can monitor SPOOL files created by this job or by the system. Normally this command is used to add your job to an existing/active print monitor. For example, if STRPRTMON has been run with LEVEL(*JOB) then use the CHGPRTMON command to include your job (the job running the CHGPRTMON command) in print monitoring. NOTE: To end print monitoring, use the ENDPRTMON command.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
OPTION | Start or end print monitoring | *START, *END | Required, Positional 1 |
LEVEL | Monitor Level | *SYS, *JOB | Optional, Positional 2 |
DTAQ | Data Queue for Monitor | Single values: *ACTIVE Other values: Qualified object name |
Optional, Positional 3 |
Qualifier 1: Data Queue for Monitor | Name, *COZTOOLS | ||
Qualifier 2: Library | Name, QGPL | ||
USRDTAARA | Print Monitor Data Area | Single values: *NONE Other values: Qualified object name |
Optional, Positional 4 |
Qualifier 1: Print Monitor Data Area | Name, QPRTMONUSR, *DFT | ||
Qualifier 2: Library | Name, *LIBL |
Top |
Specifies whether to start or end print monitoring for the current job or for the entire system. OPTION(*START) starts print monitoring. OPTION(*END) ends print monitoring.
Required parameter
Top |
Specify the environment level (*JOB or *SYS) to add the QIBM_NOTIFY_CRTSPLF environment variable and include the name of the data queue specified on the DTAQ parameter.
Top |
Print monitoring uses a data queue that the system updates. When a new SPOOL file is created in a job, and that job includes the QIBM_NOTIFY_CRTSPLF environment variable, an entry is placed on the data queue associated with that environment variable. This parameter is used to modify that setting for your job when LEVEL(*JOB) is specified, or for the entire system when LEVEL(*SYS) is specified. NOTE: To end print monitoring system-wide, use the ENDPRTMON command.
Data Queue for Monitor
Top |
Top |
Top |
Top |