Getting messages from an AO exit routine or a terminal

Your Automated Operator (AO) application receives control whenever a message with the appropriate transaction code is queued for processing. Your AO application retrieves messages from an AO exit routine or a terminal using the GU call.