How to start TOM


After the 

BMC AMI Ops Automation

 PAS is started and its services become available it can be used to start RTCS, 

Logger

, and TOM. 

RTCS must be installed, started, and active before TOM performs its functions. The 

Logger

 is optional and can be started after TOM. RTCS supports reusable address spaces, so if you add REUSASID=YES to the START command, you will be assigned a reusable address space.

Related topic

TOM is started when the MVS START command is issued either by an operator or by automation (such as a BMC AMI Ops Automation Rule or EXEC). After TOM starts, it starts all of the objects in the active Definition Base which are eligible to be started.

S procname.optional Step Name,optional Parameters

where :

procname

Represents the name of the procedure that you use to start the TOM PAS

optional Step Name

Represents a one to eight-character Started Task step name of this TOM PAS

optional Parameters

Represents other parameters that you choose to use when starting TOM, as shown in the following table:

Startup parameter

Description

DB=object definition base

Sets the specified object Definition Base to activate.

This parameter supports one or more variables.

CB=calendar definition base

Sets the specified calendar Definition Base to activate.

This parameter supports one or more variables.

CFG=xx

Specifies the suffix of the BBPARM MAMCFGxx member to use for reading parameter library members

OMODE=command_label

Specifies that TOM selects a command to use in the start sequence (which can include one, some, or all of the pre-start, start, retry-start, and post-start commands) that matches the specified command label for each object in the active Definition Base.

This parameter supports one or more variables.

For more information about using the OMODE parameter, see topic below.

IPLL | IPLO=Y|N

Specifies whether the MAMINIxx IPLORDER parameter and the IPLLEVEL object attribute are used at IPL time.

For more information about using the IPLL | IPLO parameter, see topic below.

EVAL=SUSPEND|NORMAL

Specifies whether TOM runs an evaluation cycle after it has initialized. Without running an evaluation cycle, TOM cannot determine if an object is to be started.

NORMAL indicates that TOM will run evaluation cycles after initialization completes. This is the default setting.

SUSPEND indicates that TOM will not run an evaluation cycle after initialization completes. EVAL=SUSPEND prevents any request for object evaluation.

MANAGE=SUSPEND|NORMAL

Specifies whether TOM starts objects after it initializes and runs an evaluation cycle.

NORMAL indicates that TOM will start or stop objects depending upon feedback from an evaluation cycle. This is the default setting.

SUSPEND indicates that TOM will not start or stop objects depending upon feedback from evaluation.


OMODE parameter and TOM startup

You can specify a command label, BMC AMI Ops Automation Shared pool variable, or a z/OS system symbol that contains a start command label with the OMODE parameter that TOM resolves during startup. The command label must match a value that you defined with the OMODE parameter in BBPARM member MAMINIxx.

If the command label does not match a value defined in the MAMINIxx member. the TOM PAS will not complete startup and will terminate after issuing the following message:

MAMTX0032E OMODE value <command_label> must be specified in MAMINIxx

When you specify a command label with the OMODE parameter, TOM issues the following message to its job log and logger:

MAMOD2207I IPL Operating Mode (OMODE) is <command_label>

If you do not specify a command label with the OMODE parameter, TOM starts objects using their default commands.

Only the object's start command is considered for the OMODE parameter value. So if an object has a start command with a label that matches the OMODE parameter value, then it will be used and any of the other start-sequence commands with a matching label will also be used (as well as the non-labeled start-sequence commands). Start-sequence commands include pre-start, start, retry-start, and post-start commands. Therefore, if a pre-start command has an OMODE label but the start command does not, TOM uses the default commands to start objects.

TOM resolves and uses the OMODE value only when the TOM PAS starts during an IPL. Therefore, if TOM is stopped and re-started for a situation other than an IPL and the OMODE parameter is specified, TOM ignores the OMODE value during startup. If you activate a different object Definition Base after TOM has started, TOM uses the existing OMODE values to start objects. To override this default behavior, use the RESET DEFBASE RESETOPT=(OMODE) command to reset the objects' operating mode.

IPLL | IPLO parameter and TOM startup

Use the IPLL or IPLO parameter to specify whether TOM processes the values specified with BBPARM member MAMINIxx IPLORDER parameter and IPLLEVEL object attributes during an IPL. The value of the IPLLEVEL attribute for objects in the active Definition Base must match one of the values that you specified with the IPLORDER parameter.

If an object has a non-null IPLLEVEL attribute value that is not listed in the IPLORDER parameter value, the following warning message is issued and TOM treats the object as though it has a null (highest or last level) IPLLEVEL value.

MAMOD2210W IPLLEVEL <level> not specified in IPLORDER for <objName>

The following list describes the valid settings for the IPLL or IPLO parameter:

  • IPLL | IPLO=N ignores all object IPLLEVEL attribute values and the IPLORDER parameter (if specified) and attempts to start all objects in the active Definition Base. This is the default setting.
  • IPLL | IPLO=Y specifies that TOM processes the values specified with the IPLORDER parameter and starts the objects in the first IPL level.

    To start each subsequent level of objects when you are ready, issue the START IPLLEVEL command for each level. Issue STOP IPLLEVEL to stop the current level of objects.

    When you specify IPLL | IPLO=Y, you must also specify a value for the IPLORDER parameter for this feature to take effect. For more information about how to specify values for the IPLORDER parameter, see the comments in BBPARM member MAMINIxx.

EVAL parameter and TOM startup

Use the EVAL parameter to specify whether TOM is going to run object evaluation. Starting TOM with EVAL=SUSPEND will result in TOM starting without starting or stopping any objects.

Without object evaluation cycles, object and set statuses and states might not be correct and TOM might not automatically start or stop objects. You can issue operator commands but some may produce unexpected results.

There are two values that you can use with the EVAL parameter:

  • NORMAL: this is the default setting.
    Using this parameter value causes TOM to run object evaluation after initialization and whenever requested by either TOM or an operator.
  • SUSPEND: this parameter value causes TOM to never run object evaluation.

Important

When EVAL=SUSPEND is in use, object and set statuses and states might not be correct and TOM might not automatically start or stop objects. You can issue operator commands but some might produce unexpected results.

You can issue the ACTIVATE EVAL command from the operator console, the TOMEXEC FUNC(ACTIVATE) EVAL request, or the TSYS view to resume normal TOM object management.

MANAGE parameter and TOM startup

The MANAGE parameter allows you to control whether you want all of the objects in the active Definition Base to be started or stopped by TOM when object evaluation has determined if an object needs to be started or stopped. Specifying MANAGE=SUSPEND instructs TOM to initialize and run an evaluation cycle without automatically starting or stopping or managing any objects.

There are two values that you can use with the MANAGE parameter:

  • NORMAL: this is the default setting.
    Using this parameter value causes TOM to issue start and stop commands when object evaluation has determined that these commands need to be issued for an object.
  • SUSPEND: this parameter value causes TOM to never issue commands for an object.
    MANAGE=SUSPEND will cause TOM to behave as though control mode is SUSPEND for every object in the active Definition Base.

You can use the ACTIVATE MANAGE command from the operator console, the TOMEXEC FUNC(ACTIVATE) MANAGE request, or the TSYS view to resume normal TOM object management.

Messages issued during TOM startup

If the BMC AMI Ops Automation PAS named in the AOID parameter of the BBPARM member MAMTOMxx cannot be detected for processing requests then TOM will wait during its initialization. Before waiting, TOM will issue the following message:

MAMTX0002I Waiting for AutoOPERATOR <ssid>

If BMC AMI Ops Automation stops running after TOM has initialized, any in-flight object start, stop, or bounce action terminates and TOM sets the object's status to FAILURE-AOLINK. After TOM detects that BMC AMI Ops Automationis available, TOM resets all of the objects with status of FAILURE-AOLINK.

If BMC AMI Ops Infrastructure is not found, the following message is issued:

MAMTF0014E MAINVIEW interface not established: CAS <casid>, CAS not found

This message indicates that the TOM PAS cannot detect the BMC AMI Ops Infrastructure CAS that is specified in the TOM BBPARM member MAMTOMxx.

When the specified BMC AMI Ops Automation PAS is available, the following message is issued:

MAMTX0008I Connected to AutoOPERATOR <ssid>

When the specified BMC AMI Ops Infrastructure CAS is available, the following message is issued:

MAMTF0016I MAINVIEW interface established: CAS <casid>, TOM PAS now connected to MainView

Messages when TOM has completed startup

When TOM is fully initialized, the TOM PAS issues the message:

 TX0110I TOM <tomid> version <v.rr.mm> initialized

TOM can now access the required automation services and you can perform TOM procedures.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*