Maintaining Active Job Conditions

Logical conditions are defined on the master database when linking jobs within a job network. When a job network is activated and running, Entire Operations sets logical conditions automatically (active conditions) according to the occurrence of system events. Alternatively, you can set active conditions manually. You can display and maintain active conditions.

An active condition reflects the current value of the condition for a given job network activation. It can have the value true (the condition exists) or false (the condition does not exist). The run number assigned to the job network at activation is automatically passed to the active conditions defined for the jobs in the network. An active condition is uniquely identified by owner, network, run number and condition name.

Notes:

  1. You can define new input conditions for an active job, or delete or modify existing conditions. Any changes to active conditions for active jobs are valid for the current job run only.
  2. You can maintain active input conditions in the same way as described for master input conditions in Defining and Managing Job Conditions in the section Job Maintenance.

This document covers the following topics:

Related Topics:


Available Functions: Condition Active

Start of instruction setTo list all available functions for a Condition Active

Start of instruction setTo list all available functions for a Condition Active instance

Listing Active Conditions

Start of instruction set To list active job conditions

  • In the object workspace, select a Condition Active node from a Network Active node or an Active Run instance and choose List from the context menu, or press F8.

    A Condition List window similar to the example below opens:

    graphics/condition_list.png

    Depending on the Condition Active node selected, the window lists all active conditions of the selected network active or network active run, respectively.

    The example above lists all active conditions of the active job run 198 of the network ASETCONDIT which belongs to the owner NATQA5.

    The columns contained in the window are explained in Columns and Fields: Active Conditions.

Start of instruction set To list global active conditions

This section covers the following topics:

Columns and Fields: Active Conditions

The following table explains the columns of the Condition List window. The names of the columns correspond to the names of the fields available when adding or viewing an active condition in the Condition Active or Global Active Condition window, unless indicated otherwise in the Field column of the following table.

Column Field Description
Condition  Condition Active condition name as defined on the master database.

Note:
In the object workspace, an active condition that is being used for JCL checking only has the suffix C or run-number C (for example, TESTCONDITION 2 C).

When adding or modifying a condition:

Reference Date 

Reference date
Date and time when this condition was set. The date and time serve as search criteria for Entire Operations if no run number is specified.

See also Date and Time Formats.

Run Run Run number of the job which sets this condition, or the value abs. (absolute) or void.

void is displayed if a run number is not relevant for a job run.

For information on abs., see ABS in Possible References for Input Conditions.

Status  Status Status of the condition. Possible selection options:
free  Can be used by any job.
in use  Can be used by jobs which do not require exclusive usage.
exclusive  Currently in use by a job; not usable by other jobs.
destructive Currently in use by a job; not usable by other jobs. The condition will be deleted after job termination.
Special Special Type Usage of the condition.

Possible selection options for input fields:

Normal usage Condition is not used for checking JCL.
Use only for JCL check Condition is only used for checking JCL.

If this option is selected, the letter C is shown in this column.

Viewing an Active Condition and Changing Its Status

You can view an active condition and modify its status to change the use made of it by future runs of the job for which it is defined.

Start of instruction setTo view a condition active and change its status

  • In the object workspace, select a Condition Active instance and choose Display (CTRL+D) or Open (CTRL+O) from the context menu.

    If you choose Open, you can change the status of the condition, if required.

    A Condition Active window opens.

    The fields in the window have the same meaning as the corresponding table columns in the Condition List window. They are explained in Columns and Fields: Active Conditions.

Adding an Active Condition

You can add an active condition to change the job flow by defining if for a job before submission.

Start of instruction setTo create a new condition active

  1. In the object workspace, select a Condition Active node.

  2. Open the context menu and choose New, or press CTRL+N.

    A Condition Active window similar to the example below opens:

    graphics/new_conditionactive.png

    The input fields have the same meaning as the corresponding columns in the Active Conditions window. They are explained in Columns and Fields: Active Conditions.

  3. Make your definitions and choose OK when finished.

    The condition is created.

Using Global Active Conditions

This section covers the following topics

Available Functions: Global Active Conditions

Start of instruction setTo list all available functions for the Global Active Condition metanode

Start of instruction setTo list all available functions for a global active condition

Listing Global Active Conditions

Start of instruction set To list global active job conditions

  • In the object workspace, select the Global Active Condition metanode and choose List from the context menu, or press F8.

    A Condition List window similar to the example below opens:

    graphics/global_condition_list.png

    This window lists all global active conditions defined in your environment.

    The fields contained in the window correspond to the fields in the Condition List window for a single owner. They are explained in Columns and Fields: Active Conditions.

Viewing a Global Active Condition and Modifying Its Status

Start of instruction setTo view a global active condition and change its status

  1. In the object workspace, select a Global Active Condition instance

  2. From the context menu, choose Display (CTRL+D) or Open (CTRL+O).

    If you choose Open, you can change the status of the condition, if required.

    A Global Active Condition window opens.

    The fields in the window have the same meaning as the corresponding table columns in the Condition List window. They are explained in Columns and Fields: Active Conditions.

Adding a Global Active Condition

Start of instruction setTo add a global condition

  1. In the object workspace, select the Global Active Condition metanode and choose New from the context menu, or press CTRL+N.

    A Global Active Condition window similar to the example below opens:

    graphics/open_globalactivecondition.png

    The fields contained in the window correspond to the fields in a Condition Active window. They are explained in Columns and Fields: Active Conditions.

    For the rules and restrictions that apply to global active conditions, see Global Conditions in the section Job Maintenance.

  2. Change or add the required values and choose OK when you are finished.

    The global condition is created and can be used in further networks.

Displaying Conditions for an Active Job

Start of instruction set To view condition usage of an active job

  • From the list of items on the Input Conditions page of the Maintenance Job Active window, select the required condition and choose Where Used.

    An Active Usage Condition window similar to following example opens:

    graphics/whereused_active_condition.png

    The columns contained in the window correspond to the columns in the Where used Condition window described in Input Condition Maintenance.

Viewing Job Usage of an Active Condition

This function is used to display the job that uses or last used an active condition.

Start of instruction setTo view the job that uses or last used an active condition

  1. In the object workspace, select a Condition Active instance.

  2. Open the context menu and choose Active Usage.

    An Active Usage window similar to the example below opens:

    graphics/active_usage_condition.png

This window displays the job that currently uses the active condition, or the job that used the condition most recently. If the field End is empty, the condition is currently in use. If a date and time is entered, it indicates when the job stopped using the condition.

The Begin field shows the date and time since when the job started using the condition.

If several jobs use the condition simultaneously, only one job is displayed.

For explanations of other fields contained in the window, see Columns and Fields: Active Conditions.