Check the existence and status of a jobQueue (jobQueueStatus)¶
Description¶
| Description | Check the existence and status of a jobQueue |
| Operation | A jobQueue can have status RELEASED or HELD. OK if the jobQueue is in RELEASED state Critical if the jobQueue is in HELD status or doesn’t exist |
| Used API | QSPRJOBQ, format JOBQ0100 & JOBQ0200 |
| Required authority | USE, *EXECUTE sur la jobQueue Library, *READ sur la jobQueue JOBCTL sur les JobQueue contrôlé par OPRCTL(*YES) |
Command argument¶
| Command name | Number of arguments | Arguments | ||
| jobQueueStatus | 2 | Arguments order | Description | Exemple |
| Argument 1 | JobQueue name | QSYSNOMAX | ||
| Argument 2 | Library name | QSYS | ||
| Metrics returned | X |
Network usage¶
| Download (as400 vers connector) | Upload (connector vers as400) |
| 1,7 ko | 1,9 ko |
Configuration exemple¶
| Macro name | Macro value |
| CHECK | jobQueueStatus |
| ARGS | QSYSNOMAX!QSYS |