End Monitor for OnDemand (ENDMONRDAR)

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

The End Monitor for OnDemand (ENDMONRDAR) command allows you to end a currently active monitor for an output queue.

Top

Parameters

Keyword Description Choices Notes
OUTQ Output queue Qualified object name Required, Positional 1
Qualifier 1: Output queue Name
Qualifier 2: Library Name, *LIBL, *CURLIB
NBRMON Number of monitors to end *ONE, *ALL Optional
Top

Output queue (OUTQ)

Specifies the name and library of the output queue for which a monitor is active and is to be ended.

This is a required parameter.

Qualifier 1: Output queue

name
Specify the name of the output queue for which the monitor is to be ended.

Qualifier 2: Library

*LIBL
All libraries in the job's library list are searched until the first match is found.
*CURLIB
The current library for the job is where the output queue is located. If no library is specified as the current library for the job, QGPL is used.
name
Specify the name of the library where the output queue is located.
Top

Number of monitors to end (NBRMON)

Specifies the number of monitors to end.

*ONE
One monitor is ended.
*ALL
All active monitors for the output queue specified in the parameter OUTQ are ended.
Top

Examples

Example 1: Simple Example

ENDMONRDAR OUTQ(QUSRRDARS/ONDEMANDQ)

This command issues a request to end the OnDemand Spool File Archive output queue monitor for the output queue specified.

Top

Error messages

*ESCAPE Messages

RDR0189
Output queue &1 in library &2 not found.
RDR0190
Output queue &1 in library &2 is not being monitored or the monitor has already been ended.
CPF1002
Cannot allocate object &1.
CPF1040
Maximum number of objects allocated on system.
CPF1085
Objects not allocated.
Top