SPOC
SPOC support in a COPE Environment
The Single Point Of Control (SPOC) feature of IMS allows type 1 and type 2 commands to be issued from an ISPF session and displays the results of the commands. Commands and their responses can be stored, and the commands may be reissued at any time. COPE modifies the operation of the IMS SPOC Feature, and translates Program and Database names to COPE names for all or specific Logical Systems. Responses from IMS are also translated to display the COPE names and the ’real’ user names.
In addition to the command facilities, COPE also supports the Dynamic Resource Definition Feature (DRD) of IMS and updates an executing system with new definitions of transactions, databases (DBDs) and programs (PSBs) associated with all COPE Logical Systems.
Accessing the COPE SPOC Command Application
When COPE is configured to use the SPOC feature of IMS (see the COPE Installation Guide for information on activating the COPE SPOC feature) the primary ISPF COPE USER panel appears as shown in the following figure.
ISPF COPE Development System Panel with SPOC Feature
Selecting Option S displays the following IMS Application Menu To exit the application, press PF3.
Before commencing operations, position the cursor on the Options word on the top line and press Enter. Select Option 1 Preferences from the drop down panel. The following panel (see the following figure) displays (set preferences as desired).
Options Preferences Panel
The default IMSPLEX and Routing values must be entered and must match the XPLEX and XROUTE ZDEFAULT/ZDEFCICS (EVARS) parameters specified for the Physical COPE System. The Default Exit Option (accessed by scrolling forward from the above panel) should be set to 2 (Keep Command Responses).
Example of Inputting IMS Command and the Response
Any Type 1 or Type 2 commands may be entered. An example of a Type 2 command is shown in the following figure.
Example of Inputting a Type 2 Command
The response from this command follows (see the following figure).
Response from Type 2 command
Generic (ending with an asterisk) are allowed but a complete name may also be entered. The resulting display shows the ’real user name’ as well as the COPE C-number name that IMS uses. The <LSYS cope-name> parameter limits the command to objects in the defined Logical System. If the <LSYS cope-name> parameter is omitted, all objects for all COPE logical systems are displayed. The <LSYS cope-name> parameter may be placed anywhere in the command.