You can apply the following options when switching operating modes:
AAMS
In attended mode, turns on autoaction database pattern matching. Pattern matching is always on in casual and unattended modes
DBUG
Causes CP-AMS to run in test mode, where all pattern matches and actions generated by CP-AMS are recorded in the system log file using an LG (log file entry) keyin. CP-AMS does not execute actions in test mode.
TRME
In unattended mode, aborts any nonprivileged run that issues a read-and-reply message that does not match a pattern in the autoaction database. CP-AMS sends an E keyin to terminate the run and produces a blank response to the outstanding message. CP-AMS also sends an LG keyin to indicate why it is terminating the run. This LG keyin records the reason for termination in the run’s print file.
This option eliminates run hangs due to unanswered messages when no operator is present. If CP-AMS finds a pattern that matches the console message, the message is considered answered even if CP-AMS does not execute any actions. This also occurs if the matching pattern is in test mode. CP-AMS is in test mode if you use test patterns (specify the TEST option with the BADB TYPE command) or the OM keyin DBUG option. CP-AMS maintains a list of currently unanswered read-and-reply messages, so that when the TRME option is enabled, CP-AMS aborts runs associated with the messages in this list.
UALM
In casual or unattended modes, issues an alarm for a run that terminates abnormally. The alarm is issued only if the messages do not match any patterns in the active autoaction database. This option is most useful for production systems with very stable jobs.
Only the primary read-only message causes an alarm to be issued.
Relationship Between Operating Mode and Operating Mode Options
The following table shows which options are allowed in the various operating modes.
Option | Attended | Casual | Unattended |
AAMS | Allowed | Implicit | Implicit |
DBUG* | Allowed** | Allowed | Allowed |
TRME | Not allowed | Not allowed | Allowed |
UALM | Not allowed | Allowed | Allowed |
* DBUG applies to all the options that are turned on for a particular mode.
** Allowed, but only meaningful when AAMS is also in attended mode.