AutoMan ©
Automation Power Tools for OS/390 and z/OS
|
AutoMan © Version 2.9 Operator Command Processor |
AutoMan © V2.9 incorporates an advanced Operator Command Processor. This enables the user to define any string entered to the system and interpret it as an operator command. Real system commands may be re-interpreted in new ways, or parsed and pre-processed. This enables the user to prevent some commands from being entered to the system, or modify commands before they are processed.
Command programs can be quickly and easily written in GAL to intercept any command. For example, to prevent a device from being varied offline:
COMMAND=VARY
PARSE UPPER CMD INTO &A &B &C
IF (&B EQ '560' OR &B EQ '0560') AND &C EQ 'OFFLINE'
DO
WTO 'DEVICE 560 MAY NOT BE VARIED OFFLINE'
END