Automated operator interface
When the Image Copy utility is operating with DBRC active in a SHARECTL environment, it must obtain authorization from DBRC before accessing the data set group or area.
If the IMS or DBCTL system is active at the same time that the utility is running, the authorization request may fail. For example, if the IMS system is active and is holding a database in update mode, DBRC rejects the request from the utility for read with integrity access mode to that database. Before the utility can continue, you must change the database access mode that is held by the IMS system. You can do so by entering the appropriate /DBD or /DBR command, or you can have the Automated Operator Interface (AOI) enter the command for you.
AOI methods
You can implement the AOI with the following methods, which are identified by the utility keywords that control them:
PLEXNAME
This method works through the IMS common services layer (CSL), which is available in IMS 8.1 and later, to provide a single point of control (SPOC) for IMS command processing and positive feedback from this processing.
AOI(B)
This method uses IMS type 2 AOI processing. With this method, IMS commands that are issued from the AOI are routed directly to the control region.
AOI(Y)
This method uses IMS type 1 AOI processing. With this method, IMS commands are routed to the IMS queue.
For more information, see Overview-of-the-Automated-Operator-Interface.
Processing with DBRC authorization
If you want the utility to issue the necessary /DBR, /DBD, and /STA commands on the database that is being image copied, the database must have the proper DBRC and data set share options.
See DBRC-authorization-and-unauthorization for details.
AOI processing uses DBRC authorization processing to determine if the database is available for processing. If authorization fails, the utility communicates with IMS as required to get the correct authorization.
A problem can occur if two recoveries are executed for an online database without an intervening allocation of the database. If a /STA command is issued for the database, the data sets are allocated, but the authorization is not set until the database is opened for processing.
In this case, authorization may succeed, but allocation may fail. If a log data set has not been archived, a message is issued to indicate the problem. Rectify the problem by issuing a /DBR command for the database.
Related topic