AOI and the IMS environments
You can use one of two Automated Operator Interface (AOI) functions, depending on which IMS environment you are operating in and what you want to do. The AOI function for the IMS DB/DC and DCCTL environments is called type-1 AOI. The AOI function for the DB/DC, DCCTL, and DBCTL environments is called type-2 AOI.
Type-1 AOI uses the following DL/I calls:
CMDto issue operator commandsGCMDto retrieve responses to those commandsGUandGNto retrieve messages routed to the AO application program from the AO exit routine
The AO exit routine you write in this environment is named DFSAOUE0. Type-1 AOI uses the IMS message queues for communication between an AO application and an AO exit routine.
Type-2 AOI uses the following DL/I calls:
ICMDto issue operator commandsRCMDto retrieve responses to those commandsGMSGto retrieve messages routed to the AO application program from the AO exit routine
The AO exit routine you write in this environment is an AOIE type exit routine. Type-2 AOI does not use the IMS message queues for communication between an AO application and an AO exit routine; instead, it uses an AOI token (an eight-byte name that associates messages with AO application programs).
Although this topic pairs the AO exit routine and application program together based on the environments in which they operate, you could use a single AO application program to issue calls and retrieve messages from DFSAOUE0 and AOIE type exit routines. You can write such an application program to run in the IMS DB/DC or DCCTL environment, but not in the DBCTL environment.