Environment Switching

You can toggle between the XMI server and DBCTL environments by allocating the appropriate datasets and issuing the relevant SET commands. For more information about SET commands, see Implementing DBCTL.


Top of page

Switching to DBCTL From the XMI Server

If you want to switch from the XMI server environment to the DBCTL environment, you must do the following:

  1. Allocate the FOCPSB dataset to ddname FOCPSB in your FOCUS address space; the identifier "prefix" represents the high-level qualifier for your FOCUS production libraries:

  1. If you are running TSO, identify the suffix for the DRA Startup Table (if you are running MSO, this setting is included in your configuration file, as described in Installation Instructions)

    {MVS|TSO} IMS SET IMSPZP nn
  1. Turn on DBCTL mode by issuing the following:

    {MVS|TSO} IMS SET DBCTL ON

Top of page

Switching to the XMI Server From DBCTL

If you want to switch from the DBCTL environment to the XMI server environment, you must do the following:

  1. Allocate a communication file to ddname FOCBMP in your FOCUS address space. You can either include this allocation in the CLIST or JCL that invokes FOCUS (or in your MSO server JCL) or you can allocate it dynamically. The Communication File in Additional Instructions for Using the XMI Server, describes how to allocate a communication file.

  1. Turn off DBCTL mode by issuing the following:

    {MVS|TSO} IMS SET DBCTL OFF

Top of page

Configuring the IMS Interface to Support Non-stop Processing

The IMS Interface has the ability to read IMS data in several different environments. The current release of the IMS Interface has been enhanced to support non-stop processing. This enhancement gives the Interface the ability to switch the access mode transparently so that reporting from IMS will continue even when one environment is not accessible. DBCTL must be installed to take advantage of this feature.

Although this feature works in a batch environment, it is geared towards an MSO environment.

Below is a diagram that explains how this feature works.

  1. The user issues a TABLE or SQL SELECT against an IMS database.

  1. The request is passed to IMS via DBCTL which is the default access mode.

  2. Sometime during the day, DBCTL access is terminated.

  3. The user issues another request.

  4. The IMS Interface checks DBCTL availability and determines that DBCTL is not accessible.

  5. The request is passed to the first available DLI XMI Server for processing.

  6. When DBCTL becomes available, all requests will be passed to it for processing.

This feature can be configured to route all requests to MSO or it can be configured on a user by user basis using the user profile.

To enable this feature, modify your MSO configuration file as shown in Installation Instructions.

Note:


Information Builders