Automation SHARED variables for TOM


When TOM first starts up and connects with BMC AMI Ops Automation, TOM creates the SHARED variables listed in the following table. 

TOM-specific SHARED variables created when TOM starts up

SHARED variable

Resolves to

QTOMJOBN

TOM PAS jobname

QTOMID

The TOM ID of the TOM PAS

QTOMREL

The TOM release and version number which is a 7-character field in format v.r.mm

QTOM.ACTIVEFLAG

The connection status: either YES or NO

QTOMJOBID

The TOM PAS job identifier

QTOMCASCT

The CAS connection status: either YES or NO

Object-specific automation variables

TOM can generate BMC AMI Ops Automation variables in the SHARED variable pool that describe the status and attributes for objects in the active Definition Base. These are referred to as object-specific automation variables.

The object-specific automation variables are created when TOM is initialized and deleted when TOM is terminated. These automation variables are not deleted if you specify VARIABLES_KEEP=YES in BBPARM member MAMINIxx.

The value of these object-specific automation variables are updated to match the state of the objects throughout TOM processing. You can use these automation variables (see Object-specific automation variables) in Rules and EXECs without first performing a TOMEXEC FUNC(GET) API call. 

Object-specific automation variables that indicate status and attributes of objects are only created for objects when:

  • The object is defined with a short name
  • The associated parameter is set to YES in BBPARM member MAMINIxx 

The creation of these automation variables is optional. Review the comments in BBPARM member MAMINI00 for an explanation of each parameter. If the parameter is not specified or commented out, the object-specific automation variables associated with the parameter are not generated for any object in the active Definition Base.  

When TOM creates or updates an object-specific automation variable, it is completed asynchronously, so any automation based upon the variable cannot take immediate effect. If you need immediate automation, use a TOM message with the event type JRNL Rule.

Important

To avoid unpredictable results, do not modify automation variables.

The following table lists the SHARED variable that indicates the state of object-specific automation variables listed in the table Object-specific automation variables below.

SHARED variable

Resolves to

QTOMAV

The current refresh state of TOM object-specific automation variables.  The value of QTOMAV can be:

  • INPROGRESS yyyymmdd hhmmss
  • COMPLETED yyyymmdd hhmmss number-of-seconds-to-refresh-vars

The value INPROGRESS yyyymmdd hhmmss indicates the date and time when the refresh process began.

The value COMPLETED yyyymmdd hhmmss  number-of-seconds-to-refresh-vars indicates the date and time when the refresh process completed and the number of seconds of elapsed time that it took to complete the process.

Important

The QTOMAV variable is created only when you specify YES for at least one of the VARIABLES_xxxxxxxxx parameters in MAMINIxx listed in Object-specific automation variables.

The following table lists automation variables created when you specify YES for these optional parameters in BBPARM member MAMINIxx. For example, VARIABLES_STATE=YES or VARIABLES_STATE(YES).

Object-specific automation variables

BBPARM member MAMINIxx parameter for object-specific automation variables

Associated variables

VARIABLES_STATE=YES

Active and required status for the object similar to what is displayed on the TOBJO view

The following list shows the variables associated with VARIABLES_STATE:

  • variable_prefix.object_short_name.STATE
  • variable_prefix.object_short_name.STATUS
  • variable_prefix.object_short_name.DESIRED
  • variable_prefix.object_short_name.OMODE
  • variable_prefix.object_short_name.HOSTS.0
  • variable_prefix.object_short_name.HOSTS.n.CMDCT
  • variable_prefix.object_short_name.HOSTS.n.PSWTC
  • variable_prefix.object_short_name.HOSTS.n.SSWTC
  • variable_prefix.object_short_name.HOSTS.n.PHOLD
  • variable_prefix.object_short_name.HOSTS.n.ABCNT
  • variable_prefix.object_short_name.HOSTS.n.PBOT
  • variable_prefix.object_short_name.HOSTS.n.SYSNM
  • variable_prefix.object_short_name.HOSTS.n.SSTUS
  • variable_prefix.object_short_name.HOSTS.n.RSN
  • variable_prefix.object_short_name.HOSTS.n.OMODE
  • variable_prefix.object_short_name.HOSTS.n.OMD

VARIABLES_GENERAL=YES

Attributes entered on the General Object Information dialog used to define or modify the object definition

The following list shows the variables associated with VARIABLES_GENERAL:

  • variable_prefix.object_short_name.PRODUCT
  • variable_prefix.object_short_name.TYPE
  • variable_prefix.object_short_name.SHORTNAME
  • variable_prefix.object_short_name.CNTL
  • variable_prefix.object_short_name.DESCR
  • variable_prefix.object_short_name.MODEL
  • variable_prefix.object_short_name.MDLTYPE
  • variable_prefix.object_short_name.CONNAME

VARIABLES_PRODUCT=YES

Attributes entered on the STM-specific dialog panel

The following list shows the variables associated with VARIABLES_PRODUCT:

  • variable_prefix.object_short_name.STM.NAME
  • variable_prefix.object_short_name.STM.STEP
  • variable_prefix.object_short_name.STM.SEVT.0
  • variable_prefix.object_short_name.STM.SEVTn.ID
  • variable_prefix.object_short_name.STM.SEVT.n.TP
  • variable_prefix.object_short_name.STM.SEVTn.TX
  • variable_prefix.object_short_name.STM.SEVTn.OS
  • variable_prefix.object_short_name.STM.SEVT.n.SP
  • variable_prefix.object_short_name.STM.PEVT.0
  • variable_prefix.object_short_name.STM.PEVT.n.ID
  • variable_prefix.object_short_name.STM.PEVT.n.TP
  • variable_prefix.object_short_name.STM.PEVT.n.TX
  • variable_prefix.object_short_name.STM.PEVT.n.OS
  • variable_prefix.object_short_name.STM.PEVT.n.SP
  • variable_prefix.object_short_name.STM.AEVT.0
  • variable_prefix.object_short_name.STM.AEVT.n.ID
  • variable_prefix.object_short_name.STM.AEVT.n.TP
  • variable_prefix.object_short_name.STM.AEVT.n.TX
  • variable_prefix.object_short_name.STM.AEVT.n.OS
  • variable_prefix.object_short_name.STM.AEVT.n.SP
  • variable_prefix.object_short_name.STM.SEVT.n.AQ
  • variable_prefix.object_short_name.STM.SEVT.n.AK
  • variable_prefix.object_short_name.STM.PEVT.n.AQ
  • variable_prefix.object_short_name.STM.PEVT.n.AK
  • variable_prefix.object_short_name.STM.AEVT.n.AQ
  • variable_prefix.object_short_name.STM.AEVT.n.AK

VARIABLES_PRODUCT=YES

Attributes entered on the UPM-specific dialog panel

The following list shows the variables associated with VARIABLES_PRODUCT:

  • variable_prefix.object_short_name.UPM.FULLCMD
  • variable_prefix.object_short_name.UPM.JOBNAME
  • variable_prefix.object_short_name.UPM.IDJOB
  • variable_prefix.object_short_name.UPM.SEVT.0
  • variable_prefix.object_short_name.UPM.SEVT.n.ID
  • variable_prefix.object_short_name.UPM.SEVT.n.TP
  • variable_prefix.object_short_name.UPM.SEVT.n.TX
  • variable_prefix.object_short_name.UPM.SEVT.n.OS
  • variable_prefix.object_short_name.UPM.EVT.n.SP
  • variable_prefix.object_short_name.UPM.PEVT.0
  • variable_prefix.object_short_name.UPM.PEVT.n.ID
  • variable_prefix.object_short_name.UPM.PEVT.n.TP
  • variable_prefix.object_short_name.UPM.PEVT.n.TX
  • variable_prefix.object_short_name.UPM.PEVT.n.OS
  • variable_prefix.object_short_name.UPM.PEVT.n.SP
  • variable_prefix.object_short_name.UPM.AEVT.0
  • variable_prefix.object_short_name.UPM.AEVT.n.ID
  • variable_prefix.object_short_name.UPM.AEVT.n.TP
  • variable_prefix.object_short_name.UPM.AEVT.n.TX
  • variable_prefix.object_short_name.UPM.AEVT.n.OS
  • variable_prefix.object_short_name.UPM.AEVTn.SP
  • variable_prefix.object_short_name.UPM.SEVT.n.AQ
  • variable_prefix.object_short_name.UPM.SEVT.n.AK
  • variable_prefix.object_short_name.UPM.PEVT.n.AQ
  • variable_prefix.object_short_name.UPM.PEVT.n.AK
  • variable_prefix.object_short_name.UPM.AEVT.n.AQ
  • variable_prefix.object_short_name.UPM.AEVT.n.AK

VARIABLES_PRODUCT=YES


Attributes entered on the WRM-specific dialog panel

The following list shows the variables associated with VARIABLES_PRODUCT:

  • variable_prefix.object_short_name.WRM.RESOURCE
  • variable_prefix.object_short_name.WRM.ABENDEVT.n.TYPE
  • variable_prefix.object_short_name.WRM.ABENDEVT.n.ID
  • variable_prefix.object_short_name.WRM.ABENDEVT.n.TEXT
  • variable_prefix.object_short_name.WRM.ABENDEVT.n.ORGINSTC
  • variable_prefix.object_short_name.WRM.ABENDEVT.n.STEP
  • variable_prefix.object_short_name.WRM.ABENDEVT.n.ALRTQUE
  • variable_prefix.object_short_name.WRM.ABENDEVT.n.ALRTKEY
  • variable_prefix.object_short_name.WRM.STARTEVT.n.TYPE
  • variable_prefix.object_short_name.WRM. STARTEVT.n.ID
  • variable_prefix.object_short_name.WRM. STARTEVT.n.TEXT
  • variable_prefix.object_short_name.WRM. STARTEVT.n.ORGINSTC
  • variable_prefix.object_short_name.WRM. STARTEVT.n.STEP
  • variable_prefix.object_short_name.WRM. STARTEVT.n.ALRTQUE
  • variable_prefix.object_short_name.WRM. STARTEVT.n.ALRTKEY
  • variable_prefix.object_short_name.WRM.STOPEVT.n.TYPE
  • variable_prefix.object_short_name.WRM. STOPEVT.n.ID
  • variable_prefix.object_short_name.WRM. STOPEVT.n.TEXT
  • variable_prefix.object_short_name.WRM. STOPEVT.n.ORGINSTC
  • variable_prefix.object_short_name.WRM. STOPEVT.n.STEP
  • variable_prefix.object_short_name.WRM. STOPEVT.n.ALRTQUE
  • variable_prefix.object_short_name.WRM. STOPEVT.n.ALRTKEY

VARIABLES_PRODUCT=YES

Attributes specific for GSM Extension objects

  • variable_prefix.object_short_name.GSM.ITEM
  • variable_prefix.object_short_name.GSM.AEVT.n.TP
  • variable_prefix.object_short_name.GSM.AEVT.n.ID
  • variable_prefix.object_short_name.GSM.AEVT.n.TX
  • variable_prefix.object_short_name.GSM.AEVT.n.OS
  • variable_prefix.object_short_name.GSM.AEVT.n.SP
  • variable_prefix.object_short_name.GSM.AEVT.n.AQ
  • variable_prefix.object_short_name.GSM.AEVT.n.AK
  • variable_prefix.object_short_name.GSM.AEVT.n.CL
  • variable_prefix.object_short_name.GSM.SEVT.n.TP
  • variable_prefix.object_short_name.GSM.SEVT.n.ID
  • variable_prefix.object_short_name.GSM.SEVT.n.TX
  • variable_prefix.object_short_name.GSM.SEVT.n.OS
  • variable_prefix.object_short_name.GSM.SEVT.n.SP
  • variable_prefix.object_short_name.GSM.SEVT.n.AQ
  • variable_prefix.object_short_name.GSM.PEVT.n.TP
  • variable_prefix.object_short_name.GSM.PEVT.n.ID
  • variable_prefix.object_short_name.GSM.PEVT.n.TX
  • variable_prefix.object_short_name.GSM.PEVT.n.OS
  • variable_prefix.object_short_name.GSM.PEVT.n.SP
  • variable_prefix.object_short_name.GSM.PEVT.n.AQ
  • variable_prefix.object_short_name.GSM.PEVT.n.AK
  • variable_prefix.object_short_name.GSM.PEVT.n.AK

VARIABLES_START=YES

Attributes entered on the Start Command Information dialog

The following list shows the variables associated with VARIABLES_START:

  • variable_prefix.object_short_name.START.0
  • variable_prefix.object_short_name.START.n.CMD
  • variable_prefix.object_short_name.START.n.TMOUT
  • variable_prefix.object_short_name.START.n.UNAME
  • variable_prefix.object_short_name.START.n.TYPE
  • variable_prefix.object_short_name.START.n.MAX
  • variable_prefix.object_short_name.START.n.SJN
  • variable_prefix.object_short_name.START.DEFAULT
  • variable_prefix.object_short_name.RESTIME
  • variable_prefix.object_short_name.RESTART
  • variable_prefix.object_short_name.RESETCNT
  • variable_prefix.object_short_name.VERIFY.STRDEF
  • variable_prefix.object_short_name.VERIFY.START
  • variable_prefix.object_short_name.VERIFY.STRTIM
  • variable_prefix.object_short_name.ACTCHK.0
  • variable_prefix.object_short_name.ACTCHK.n.UNAME
  • variable_prefix.object_short_name.ACTCHK.n.CMD
  • variable_prefix.object_short_name.ACTCHK.n.TMOUT
  • variable_prefix.object_short_name.ACTCHK.n.TYPE
  • variable_prefix.object_short_name.ACTCHK.n.INTVL
  • variable_prefix.object_short_name.ACTCHK.n.MXTMO
  • variable_prefix.object_short_name.ACTCHK.n.SJN
  • variable_prefix.object_short_name.ACTCHK.n.RSLT

VARIABLES_PRESTART=YES

Attributes entered to identify the object’s pre-start commands

The following list shows the variables associated with VARIABLES_PRESTART:

  • variable_prefix.object_short_name.PRES.0
  • variable_prefix.object_short_name.PRES.n.CMD
  • variable_prefix.object_short_name.PRES.n.DESCR
  • variable_prefix.object_short_name.PRES.n.UNAME
  • variable_prefix.object_short_name.PRES.n.SJN

VARIABLES_STARETRY=YES

attributes entered to identify the object's START RETRY commands

The following list shows the variables associated with VARIABLES_STARETRY:

  • variable_prefix.object_short_name.SRTRY
  • variable_prefix.object_short_name.SRTRYn.CMD
  • variable_prefix.object_short_name.SRTRYn.DESCR
  • variable_prefix.object_short_name.SRTRYn.INTVL
  • variable_prefix.object_short_name.SRTRYn.TYPE
  • variable_prefix.object_short_name.SRTRYn.MAX
  • variable_prefix.object_short_name.SRTRYn.UNAME
  • variable_prefix.object_short_name.SRTRYn.SJN

VARIABLES_POSTSTRT=YES

Attributes entered to identify the object's post-start commands

The following list shows the variables associated with VARIABLES_POSTSTART:

  • variable_prefix.object_short_name.POSTS.0
  • variable_prefix.object_short_name.POSTSn.CMD
  • variable_prefix.object_short_name.POSTSn.DESCR
  • variable_prefix.object_short_name.POSTSn.INTVL
  • variable_prefix.object_short_name.POSTSn.TYPE
  • variable_prefix.object_short_name.POSTSn.MAX
  • variable_prefix.object_short_name.POSTSn.UNAME
  • variable_prefix.object_short_name.POSTSn.SJN

VARIABLES_STOP=YES

Attributes entered on the Stop Command Information dialog

The following list shows the variables associated with VARIABLES_STOP:

  • variable_prefix.object_short_name.STOP.0
  • variable_prefix.object_short_name.STOP.n.CMD
  • variable_prefix.object_short_name.STOP.n.TMOUT
  • variable_prefix.object_short_name.STOP.n.UNAME
  • variable_prefix.object_short_name.STOP.n.TYPE
  • variable_prefix.object_short_name.STOP.n.SJN
  • variable_prefix.object_short_name.STOP.DEFAULT
  • variable_prefix.object_short_name.LOCKIPL
  • variable_prefix.object_short_name.STOPORDER
  • variable_prefix.object_short_name.SHUTDOWN
  • variable_prefix.object_short_name.ALTRNTE
  • variable_prefix.object_short_name.RECOVERY.CMD
  • variable_prefix.object_short_name.RECOVERY.TYPE
  • variable_prefix.object_short_name.RECOVERY.UNAME
  • variable_prefix.object_short_name.RECOVERY.n.SJN
  • variable_prefix.object_short_name.VERIFY.STPDEF
  • variable_prefix.object_short_name.VERIFY.STOP
  • variable_prefix.object_short_name.VERIFY.STPTIM

VARIABLES_PRESTOP=YES

Attributes entered to identify the object's pre-stop commands

The following list shows the variables associated with VARIABLES_PRESTOP:

  • variable_prefix.object_short_name.PREP.0
  • variable_prefix.object_short_name.PREP.n.CMD
  • variable_prefix.object_short_name.PREP.n.DESCR
  • variable_prefix.object_short_name.PREP.n.UNAME
  • variable_prefix.object_short_name.PREP.n.SJN

VARIABLES_STPRETRY=YES

Attributes entered to identify the object's STOP RETRY commands

The following list shows the variables associated with VARIABLES_STPRETRY:

  • variable_prefix.object_short_name.PRTRY.0
  • variable_prefix.object_short_name.PRTRYn.CMD
  • variable_prefix.object_short_name.PRTRYn.DESCR
  • variable_prefix.object_short_name.PRTRYn.INTVL
  • variable_prefix.object_short_name.PRTRYn.TYPE
  • variable_prefix.object_short_name.PRTRYn.MAX
  • variable_prefix.object_short_name.PRTRYn.UNAME
  • variable_prefix.object_short_name.PRTRYn.SJN

VARIABLES_POSTSTOP=YES

Attributes entered to identify the object's post-stop commands

The following list shows the variables associated with VARIABLES_POSTSTOP:

  • variable_prefix.object_short_name.POSTP.0
  • variable_prefix.object_short_name.POSTP.n.CMD
  • variable_prefix.object_short_name.POSTP.n.DESCR
  • variable_prefix.object_short_name.POSTP.n.INTVL
  • variable_prefix.object_short_name.POSTP.n.TYPE
  • variable_prefix.object_short_name.POSTP.n.MAX
  • variable_prefix.object_short_name.POSTP.n.UNAME
  • variable_prefix.object_short_name.POSTP.n.SJN

VARIABLES_DEPCLNT=YES

Attributes entered on the Dependency, Client-Server Information dialog

The following list shows the variables associated with VARIABLES_DEPCLNT:

  • variable_prefix.object_short_name.USER1
  • variable_prefix.object_short_name.USER2
  • variable_prefix.object_short_name.USER3
  • variable_prefix.object_short_name.USER4
  • variable_prefix.object_short_name.USER5
  • variable_prefix.object_short_name.USER6
  • variable_prefix.object_short_name.USER7
  • variable_prefix.object_short_name.USER8
  • variable_prefix.object_short_name.UPROP.0
  • variable_prefix.object_short_name.UPROP.n.NAME
  • variable_prefix.object_short_name.UPROP.n.VALUE
  • variable_prefix.object_short_name.SRVR.n.SERVOBJ
  • variable_prefix.object_short_name.SRVR.n.CCMD
  • variable_prefix.object_short_name.SRVR.n.CTYPE
  • variable_prefix.object_short_name.SRVR.n.DCMD
  • variable_prefix.object_short_name.SRVR.n.DTYPE
  • variable_prefix.object_short_name.SRVR.n.STATUS
  • variable_prefix.object_short_name.SRVR.n.CUSRN
  • variable_prefix.object_short_name.SRVR.n.DUSRN
  • variable_prefix.object_short_name.SRVR.n.CSJN
  • variable_prefix.object_short_name.SRVR.n.DSJN
  • variable_prefix.object_short_name.STRENGTH
  • variable_prefix.object_short_name.DEP.0
  • variable_prefix.object_short_name.DEP.n.CHLDSTR
  • variable_prefix.object_short_name.DEP.n.NAME
  • variable_prefix.object_short_name.DEP.n.OP
  • variable_prefix.object_short_name.DEP.n.PROP
  • variable_prefix.object_short_name.DEP.n.SYSNAME
  • variable_prefix.object_short_name.DEP.n.VALUE
  • variable_prefix.object_short_name.CHILD.0
  • variable_prefix.object_short_name.CHILD.n.NAME

VARIABLES_START

  • variable_prefix.object_short_name.ACTCHK.n.RSP
  • variable_prefix.object_short_name.ACTCHK.n.RLN

 

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