| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The End Monitor for OnDemand (ENDMONOND) command allows you to end a currently active monitor for an output queue or a directory.
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| TYPE | Type | *OUTQ, *DIR | Optional |
| OUTQ | Output queue | Qualified object name | Optional, Positional 1 |
| Qualifier 1: Output queue | Name | ||
| Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
| DIR | Directory | Path name | Optional |
| NBRMON | Number of monitors to end | *ALL, *ONE | Optional |
| Top |
| Top |
Specifies the name and library of the output queue for which a monitor is active and is to be ended. A value must be provided if TYPE(*OUTQ) is specified.
Qualifier 1: Output queue
Qualifier 2: Library
| Top |
Specifies name of the directory for which a monitor is active and is to be ended. A value must be provided if TYPE(*DIR) is specified.
| Top |
Specifies the number of monitors to end.
| Top |
Example 1: End an OnDemand Monitor for an Output Queue
ENDMONOND OUTQ(QUSRRDARS/ONDEMANDQ)
This command issues a request to end the OnDemand Common Server output queue monitor for the output queue specified.
Example 2: End an OnDemand Monitor for a Directory
ENDMONOND TYPE(*DIR) DIR('/MYDIR')
This command issues a request to end the OnDemand Common Server directory monitor for the directory specified.
| Top |
*ESCAPE Messages
| Top |