Automated operator application programs
An application program that can issue a subset of IMS operator commands using the DL⁄I CMD or ICMD calls is called an automated operator (AO) application program.
AO application programs can use the CMD call in only the DB/DC and DCCTL environments.
AO application programs can use the ICMD call in all environments.
When the CMD or ICMD call is issued, the operator command is executed and the first segment of the command response is put in the AO application program's I⁄O area. Subsequent parts of the response are obtained by GCMD (if CMD is issued) or RCMD (if ICMD is issued) calls.
To maintain security, you need to decide which AO application programs can issue operator commands and which commands they can issue. An AO application program can issue a single command or a series of commands.
- For information on securing the CMD and ICMD calls, see IMS security.
- For more information on automated operator (AO) application programs, see IMS Version 15.6 Operations and Automation.
When using an AO application program it is also possible to automate the recovery of databases and areas by using the IMS AO facility in conjunction with a database recovery service. One way that you can control recovery is by using the ICMD call to issue /RECOVER commands in a type 2 AO application program.
Related reading: For more information on the /RECOVER commands, see IMS Version 15.6 Commands, Volume 2: IMS Commands N-V.