Execute a command on as400¶
Description¶
| Description | Execute a command on as400 | |
| Operation | Ok if the comamnd is successful Critical if the command does not execute successfully. | |
| Used API | ||
| Required authority |
Arguments de la commande¶
| Command name | Number of arguments | Arguments | ||
| executeCommand | 1 | Arguments order | Description | Exemple |
| Argument 1 | Command name | TEST | ||
| Metrics returned | None | |||
| Output | Command return |
Network usage¶
| Download (as400 to connector) | Upload (connector to as400) |
| variable | 800 o |
Configuration exemple¶
| Macro name | Macro value |
| CHECK | executeCommand |
| ARGS | TEST |
Note: The output will only be available if messages have been generated by the executed command.
Generating a message from an AS/400 CL program:
| SNDPGMMSG MSGID(CPF9898) MSGF(QCPFMSG) + MSGDTA(‘Ceci est un message’) + TOPGMQ(*EXT) MSGTYPE(*STATUS) |