Previous Topic

Next Topic

Book Contents

Book Index

Rules Structure

The following tables describe the structures of the IMS Reply Automation solution rules.

Table 100 Keep Last IMS Reply Number Rule Structure

Item

Description

Title

Keep Last IMS Reply Number

Name

DFS996I

Table

IMS

Message

DFS996I IMS READY

Message Description

IMS startup is completed. This message is issued as a WTOR (Write to Operator with Reply) message, thereby enabling entry of data through the system console.

Basic Scheduling Parameters

Always schedule this rule.

Runtime Scheduling Parameters

No special considerations.

Global Variables

%%IMS_REPLY_imsname IMS open reply number.

Rule Logic

As soon as the above message appears on the console, the message reply number is updated in a Control-O Global variable. This variable is later accessed by another Control-O rule that issues reply commands to IMS.

Rule Actions

Assigns the message reply number (system variable %%REPLY) to Global variable %%IMS_REPLY_imsname.

Activating the Rule

Once scheduled, the rule remains active until deleted from Control-O.

Recommended Mode or Category

During the testing period, activate the rule in LOG mode. Once you are satisfied with the results of the rule, change the mode to PROD to avoid log messages for this rule.

The SolveWare category for this rule is 1—little or no customization is required.

Table 101 Issue an IMS Reply Command Rule Structure

Item

Description

Title

Issue an IMS Reply Command

Name

IMSCMD-*

Table

IMS

Command

IMSCMD-imsname,imsdata

where imsname is the name of the IMS job or started task name and imsdata is the data to be entered.

Command Description

This command rule is used to issue a command through the IMS open reply message (WTOR).

Basic Scheduling Parameters

Always schedule this rule.

Runtime Scheduling Parameters

No special considerations.

Global Variables

%%IMS_REPLY_imsname IMS open reply number.

Rule Logic

This command uses the IMS reply number, which is stored in a Global variable (for each IMS subsystem), to issue an IMS command.

The command is especially useful when an IMS command is to be issued from a source other than the console itself. For example, batch jobs or started tasks can use this command to issue IMS commands without having to determine the currently open IMS reply number. In this way, IMS commands can be defined as part of the automatic production flow under Control-M.

Rule Actions

  • Parses command text to extract the IMS job name and the data to be entered.
  • Using the IMS reply number (Global variable %%IMS_REPLY_%%imsname), issues the appropriate reply command.

Activating the Rule

Once scheduled, the rule remains active until deleted from Control-O.

Recommended Mode or Category

During the testing period, activate the rule in LOG mode. Once you are satisfied with the results of the rule, change the mode to PROD to avoid log messages for this rule.

The SolveWare category for this rule is 1—little or no customization is required.

Parent Topic

IMS Reply Automation