Check the existence of a sub system (subSystemExist)¶
Description¶
Description | Check the existence of a sub system |
Fonctionnement | A subsystem may take status: *ACTIVE, *ENDING, *INACTIVE, *RESTRICTED, or *STARTING. Ok if the subsystem is in state *ACTIVE. Critical if the subsystem is in an other status than * ACTIVE or that the subsystem has not been found. |
Used API | QWCRSSTS, format SSTS0100 & SSTS0200 |
Required authority | *USE |
Command argument¶
Command name | Number of arguments | Arguments | ||
subSystemExist | 1 | Arguments order | Description | Exemple |
Argument 1 | Subsystem name | QBATCH | ||
Argument 2 | Library name | QSYS.LIB | ||
Metrics returned | X |
Network usage¶
Download (as400 to connector) | Upload (connector to as400) |
5,5 ko | 2,1 ko |
Configuration exemple¶
Macro name | Macro value |
CHECK | subSystemExist |
ARGS | QBATCH !QSYS.LIB |