List of MainView AutoOPERATOR-supplied EVENT variables
EVENT variables are variables that are used by the Rule Processor application and exist for the duration of the event.
EVENT variables consist of
- MainView AutoOPERATOR-supplied variables
- WORDxxx variables, where xxx represents a number (for example, &WORD4)
Many of these variables are also be available for use by MainView AutoOPERATOR EXECs.
For more information about variables and MainView AutoOPERATOR EXECs, see the variables discussion in the MainView AutoOPERATOR Advanced Automation Guide.
When creating Rules for the ALRT event type, see List-of-variables-for-ALRT-initiated-Rules for additional available variables.
The following table shows all the EVENT variables supplied by MainView AutoOPERATOR.
MainView AutoOPERATOR-supplied EVENT variables
Variable name | Description |
---|---|
&IMFACCTG | contains all accounting fields for a particular event The accounting field values are separated by blanks. Maximum length is 142. |
&IMFALGID | contains a 16-character alphanumeric Alarm Group ID created by MainView Alarm Manager |
&IMFALID | contains the alarm ID associated with an alarm created by MainView Alarm Manager |
&IMFALPRI | contains the user-assigned priority of the alarm Possible values are 1 – Critical 2 – Major 3 – Minor 4 – Warning 5 – Informational 6 – Clearing |
&IMFALQID | contains the name of the queue to which the alarm was assigned |
&IMFALRM | contains either Y (sound an alarm) or N (do not an sound alarm) |
<ao82> &IMFALUVx | contains the values specified for the fields User Values 1 through User Values 8 where x can be 1 through 8 The values can be 1 to 16 characters in length, and if not specified, the value is null. This variable is valid only for ALRM-initiated Rules. </ao82> |
<ao82> IMFAREID | contains a 1-character identifier for the area on the console panel that displays a multiline WTO message Possible values are the letters A through K, Z. This variable is valid only for the MSG-initiated and DB2-initiated Rules. (/ao82> |
&IMFAUTH | contains Y if the message was issued from an authorized program |
&IMFCART | contains an 8-character Command and Response Token (CART) associated with an MVS command |
&IMFCARTX | contains the &IMFCART variable in 16-character printable EBCDIC format |
&IMFCIJOB | contains the values for the &IMFCIJOB variable for different event types are as follows:
|
&IMFCLOCK | contains the number derived from the first word of the MVS Time-of-Day clock The increment value is approximately once every 1.05 seconds.Each Rule that fires has its own copy of the &IMFCLOCK variable, but the variable is not passed to Rule-initiated EXECs. You can use this variable to help construct names and values that are unique for the life of this IPL. For example, you can combine the IMFCLOCK and IMFRLID variables to create a unique variable to create a unique ALERT key. On the Alert Action(s) I panel in the Rule Processor, specify Key ===> &IMFRLID::&IMFCLOCK |
&IMFCNTXT | contains the name of the context of the alarm |
&IMFCOLOR | contains the value of the message color as it was modified by the (Message Processing Facility (MPF) or a subsystem in the subsystem interface (SSI); valid values are as follows: RED, BLUE, PINK, GREEN, TURQUOISE, YELLOW, WHITE If the message color is not modified, the value is blank. |
&IMFCONNM | contains the console name to which the WTO was issued Valid only for MVS SP4 and above. &IMFCONNM may be used to identify the origin of an MVS command. The contents of the variable (by origin) are
|
&IMFCSMLU | contains the LU name for SMCS consoles |
&IMFCSSOW | contains the eight-character owner ID for subsystem consoles |
&IMFCSTYP | contains the console subtype If the Console Type resolves to Special (IMFCTYPE=P), IMFCSTYP resolves to one of the following values:
|
&IMFCTYPE | contains the type of console; one of the following possible values: M: Command or WTO was issued from or to an MCS console S: SMCS console E: EMCS console U: Subsystem console P: Special (see definition for the IMFCSTYP variable) |
&IMFDATE | contains the date when the message was issued in the format that is specified on the IMFDATE parameter in BBPARM member AAOPRM00 The following list shows valid formats and an example of each:
|
&IMFDAY | contains the three-character day of the week: MON, TUE, WED, THU, FRI, SAT, SUN |
&IMFDDNAM | contains the DDNAME specified by the user to generate an external events (EXT event type) EXT events are generated by using the SUBSYS= parameter on a DD statement in JCL. For more information about EXT events, see EXT. |
&IMFDOMID | contains the DOM ID associated with a WTO that caused a Rule to fire |
&IMFETYPE | contains the event type that caused the Rule to fire If a Rule schedules an EXEC, IMFETYPE contains the value from the Rule that scheduled the EXEC. Possible values for IMFETYPE are
For more information about these event types, refer to Describing-events. |
<ao82> &IMFEVALP | contains the evaluation policy for the Rule The contents of this variable are updated after each qualifying rule is evaluated. This includes all conventional Rules and all Rules that are part of a chained Rule group (CRG). You can use the IMFEVALP variable in a Rule like any other event variable and will be passed to EXECs like any other event variable. Valid values are:
|
<ao82> &IMFEVALR | contains the evaluation result for the Rule The contents of this variable are updated after each qualifying rule is evaluated. This includes all conventional Rules and all Rules that are part of a chained Rule group (CRG). You can use the IMFEVALP variable in a Rule like any other event variable and will be passed to EXECs like any other event variable. Valid values are:
|
&IMFEVFRD | contains the number of Rules that have fired for a specific event |
<ao82> &IMFEXEID | when the IMFJRNLT variable is EXEC, contains the EXEC identifier where the message originated </ao82> |
<ao82> &IMFEXENM | when the IMFJRNLT variable is EXEC, contains the EXEC name where the message originated The EXEC identified is the EXEC that scheduled the start of the EXEC thread (outermost EXEC). </ao82> |
<ao82> &IMFEXITP | contains the exit policy for the Rule The contents of this variable are updated after each qualifying rule is evaluated. This includes all conventional Rules and all Rules that are part of a chained Rule group (CRG). You can use the IMFEVALP variable in a Rule like any other event variable and will be passed to EXECs like any other event variable. Valid values are:
|
&IMFGROUP | contains the IBM RACF group ID for the address space that issued the event The group ID is taken from the GROUP= parameter on the job card. For commands issued from the Console address space, the value for IMFGROUP is derived from the RACF RUTOKEN. |
&IMFHILIT | contains the value of the message highlight level as it was modified by MPF or a subsystem in the SSI; valid values are as follows: NONE, BLINKING, REVERSE, UNDERLINE If the message highlight level is not modified, the value is blank. A value NONE means the message was issued with no highlighting. |
&IMFIMTYP | contains a two-character value describing the type of IMS event Valid value for this variable is RE; RE means that the event is a command response to an IMS command issued from an EXEC with response. This value can be used to prevent automatic logging of the IMS command response to the Journal by the IMS Generic (or similar) Rule. Specifying IMFIMTYP NE RE on the Variable Dependencies panel of an IMS event type Rule causes the Rule not to fire for responses to IMS command that are returned to and processed by an EXEC. Eliminating unnecessary logging to the Journal will reduce the possibility of out-of-storage problems and loss of automation during periods when MainView AutoOPERATOR is processing very large number of IMS response segments. |
&IMFINTEN | contains the value of the message brightness as it was modified by MPF or a subsystem in SSI; valid values are as follows: HIGH or NORMAL If the message brightness is not modified, the value is blank. |
&IMFJBCOR | contains the 0 to 64-character job correlator token This variable is valid only when running on IBM z/OS Version 2.1 or later, where its length will be 32 to 64 characters. For versions earlier than 2.1, this variable contains a NULL value (length = 0). |
&IMFJCAN | indicates if the job is canceled: Y means the job is canceled, N means the job is not canceled The variable is valid only for the EOJ event. |
&IMFJCLAS | contains the job class from the job card of the batch job that has generated the message. |
&IMFJNUM | contains the JES job number of the job, STC, or TSU that issued the message It is a fixed length five-digit or a variable length value depending on the setting of the IMFJNUM option in member AAOPRMxx. IMFJNUM can also contain blanks (one or five characters as appropriate) for WTOs that are issued by non-JES tasks, such as a STC started under MSTR. The default setting is IMFJNUM=V. When IMFJNUM=V (the default setting) and the job number is greater than 99,999 (for example, T0100000, S0999999, etc.) are encountered, IMFJNUM will be null (zero length). |
<ao82> &IMFJRNLT | contains the type of JRNL event This value is returned to the EXEC when the message originated from an EXEC. </ao82> |
&IMFJSACT | contains accounting information from the EXEC JCL statement |
&IMFJSCC | contains the condition code Values can be S0xxx (system abend), Unnnn (user abend), FLUSH (steps were flushed), nnnn (numeric condition code). |
&IMFJSCPU | contains the CPU time used by this job step, in hundredths of seconds Value is zero (0) for EOJ. |
&IMFJSNUM | contains sequential number of this job step Value is zero (0) for EOJ. |
<ao82> &IMFJSPGM | contains EXEC PGM= program name for this job step This variable contains the fixed value N/A for end-of-job (EOJ) and end-of-memory or address space termination (EOM) events. </ao82> |
&IMFJSTEP | contains the job step name Value is blank for EOJ. |
&IMFJTCPU | contains the total amount of CPU time used by this job, in hundredths of seconds |
&IMFJTYPE | contains the type of job issuing message: J – Batch Job T – TSO User S – Started Task |
<ao82> IMFLFIRE | contains the number of seconds (0 – 9999999) since this Rule last fired 0 seconds means the Rule last fired less than 1 second ago. The maximum value of 9,999,999 seconds (about 115 days) is set when any of these conditions exist
This variable is not valid for the HWTO event type. </ao82> |
&IMFLPROD | contains the name of the product associated with the alarm |
&IMFLTYPE | contains the literal value associated with the alarm; possible values can be START or STOP |
&IMFLUSER | contains the user-specified user ID associated with the alarm |
&IMFMPFAU | contains the value of the AUTO parameter in SYS1.PARMLIB member MPFLSTxx The value could be YES, NO, or an 8-character token set by the user in SYS1.PARMLIB Refer to the chapter 'Implementing support for MPF' in the MainView AutoOPERATOR Customization Guide for more information about MPF. |
&IMFMPFSP | contains the value of the SUP parameter in SYS1.PARMLIB member MPFLSTxx The value could be either YES or NO. Refer to the chapter 'Implementing support for MPF' in the MainView AutoOPERATOR Customization Guide for more information about MPF. |
&IMFMSGID | contains the first word of the message (up to 16 characters) with any leading plus sign (+) that might be present stripped out of the word For example, for the following message: +DFHSI1500 TYSPCICS CICS startup is in progress The value of the &IMFMSGID variable is DFHSI1500 Valid only for the MSG and DB2 event types. |
&IMFMSTYP | contains the two-character variable for the message type This variable is only for the CMD and MSG event types. Valid values for the first character can be N: a regular WTO W: a regular WTOR M: a major line of a multiline WTO (MLWTO) Valid values for the second character can be C: command R: command response |
&IMFNOL | contains the number of LINE variables in the LOCAL pool Output from multiline messages is placed in LOCAL variables, LINE1 through LINEnnnn. |
&IMFNUSER | contains the NetView user ID assigned to this event |
&IMFOASID | contains the originating Address Space ID (ASID) of the message For IMFEOM, it is set to the ASID that is being terminated. |
&IMFODATE | contains the date when the message was issued in Juilan date format |
&IMFOJOB | for WTOs: contains the job or Started Task that issued the WTO for CICS messages: CICS region name that the subsystem issued the message for, which is useful when monitoring multiple CICS regions with one BBI-SS PAS. for DB2 messages: DB2 region name that the subsystem issued the message for, which is useful when monitoring multiple DB2 regions with one BBI-SS PAS. for IMS messages:
for Journal messages issued by an EXEC: user ID of the person who scheduled the EXEC |
&IMFOMCLT | contains the name of the client (IMSplex member) where IMS Type-2 command originated. Valid only for IMP events. |
&IMFOMRTE | contains up to 30 characters of the ROUTE list of the IMS Type-2 command. Valid only for IMP events. The ROUTE list is a list of client names separated by commas. The ROUTE list can contain a single asterisk as a client name, which routes to all clients. |
&IMFOMUSR | contains user ID of application where the IMS Type-2 command originated. Valid only for IMP events. |
&IMFOQID | contains the CICS transient data queue name if source of message is CICSTD |
&IMFORGN | contains the possible event types and their descriptions are:
|
&IMFORGSS | contains the BBI Subsystem ID of the BBI-SS PAS |
&IMFOTIME | contains the time when the message was issued Valid only for messages captured through the Rule Processor. The format is HH.MM.SS for MSG event types. For all other event types, the format is HH:MM:SS |
&IMFPCMD | contains the PCMD associated with the alarm |
&IMFPLUS | contains Y if the message ID text begins with a plus sign (+) |
&IMFREPLY | contains the Reply ID of the WTOR message |
&IMFRETAIN | contains Y if the message is marked as retain (and it is not automatically scrolled off the MVS Console) and is retained in the Automatic Message Retention Facility (AMRF) |
&IMFRLFRD | contains the number of times a Rule was fired |
&IMFRLID | contains the Rule identifier |
&IMFRLMAT | contains the number of times the Rules search criteria was matched |
&IMFRLSET | contains the name of the Rule Set the Rule belongs to |
&IMFRLSTA | contains the Rule status: TEST: indicates the Rule is in a TEST state. ACTIVE: indicates the Rule is in ACTIVE state. |
&IMFRUSER | contains the user ID from the USER= parameter on the job card For commands issued from the Console address space, the value for IMFRUSER is derived from the RACF RUTOKEN. |
(ao82) &IMFSCENV | contains a 1 to 16-character Workload Manager schedule environment name for the batch job that produced the event The scheduling environment name contains alphanumeric characters, national characters ($, @, #) and underscore (_). This variable is available only for the MSG event type. (/ao82) |
&IMFSCOPE | contains the name of the scope associated with the alarm |
&IMFSRC | contains the name of the NetView exit that produced the event |
&IMFSTEP | contains the step name that triggered the Rule |
&IMFSTOKN | contains the Address Space STOKEN name This name is unique for the life of the IPL. |
&IMFSUPR | contains Y if the message text is suppressed from the console |
&IMFSYSID | contains the possible event types and their descriptions are:
|
& IMFTCPCT | contains the number of times this address space has already been extended by a Rule for CPU expired |
&IMFTCPSC | contains the number of CPU seconds this address has already been extended by a Rule |
&IMFTERMT | contains the type of address space termination; valid values are NORMAL or ABNORMAL |
&IMFTEXT | message text that caused the EXEC to be scheduled For CICS TD events, the maximum length for IMFTEXT can be up to 512 characters. For all other message types, IMFTEXT is 125 characters. |
&IMFTHTGT | resolves to the address space name that causes the MainView alarm to be generated |
&IMFTIME | contains the time when the message was issued in HH:MM:SS format |
&IMFTOKEN | contains the token ID of the message. Same as hardcopy ID Used to attach multiline WTO Minor/Major Lines. |
&IMFTSNUM | contains the sequential step number |
&IMFTSSID | contains the subsystem ID (SSID) that selected the job Possible values are as follows: JES2, JES3, ASCH (APPC), OMVS, STC, or TSO. The value can also be the jobname if none of these apply the jobname is less than 4 characters long. |
&IMFTTLM | contains the type of expired time limit; valid values are as follows:
|
&IMFTWTCT | contains the number of times this address space has already been extended by a Rule for Wait limit expired |
&IMFTWTSC | contains the number of seconds this address has already been extended by a Rule for WAIT limit expired |
&IMFVALUE | contains the value of a SHARED variable when an event type VAR Rule fires |
&IMFVIEW | contains the name of the view associated with the alarm |
&IMFXDESC | contains a two-character value that consists of the exact hexadecimal contents of the descriptor code field of the WQE (WQEDESCD) for a WTO This variable allows the testing of specific bits in the descriptor code, by using the FN and FO operators on the Selection Criteria panel or the BITON() function on the Advanced Variable Dependency panel, to determine eligibility of the Rule to fire. For example, if you want to Rule to fire when descriptor code 12 is used you could specify the following value on the Variables Dependency panel: IMFXDESC_______________________ FO 0010___________________________ Or, you could specify the following value on the Advanced Variables Dependency panel: BITON(&IMFXDESC,0010) Either method causes the Rule to fire. |
&IMFXOJOB | contains the name of the original job or Started Task that requested the WTO to be issued by another address space The contents of IMFXOJOB are only meaningful if the WTO is issued by another address space, otherwise its contents are identical to IMFOJOB. &IMFXOJOB is valid only for MSG and JRNL type Rules. When a JRNL event originates from a MainView Total Object Manager (TOM) log message, the &IMFXOJOB variable contains the TOMID of the TOM PAS that originated the message. To determine if a JRNL event originated from a local TOM PAS, use the Variable Dependencies (SV) panel in the Rules Processor to compare the IMFOJOB variable to IMFXOJOB (IMFOJOB EQ IMFXOJOB). If the values are equal, the message originated from the local TOM PAS. |
&IMFXROUT | contains a 16-character value that consists of the exact hexadecimal contents of the routing code field of the WQE (WQEERC) for a WTO This variable allows the testing of specific bits in the route code, by using the FN and FO operators on the Selection Criteria panel or the BITON() function on the Advanced Variable Dependency panel, to determine eligibility of the Rule to fire. For example, if you want to Rule to fire when route codes 2 and 11 are used you could specify the following value on the Variables Dependency panel: IMFXROUT___________________ FO 40200000000000000000000000000000___ Or, you could specify the following value on the Advanced Variables Dependency panel: BITON(&IMFXROUT,4020) Either method causes the Rule to fire. |
&SYSDATE | contains the current date in the form month/day/year |
&SYSTIME | contains the current time of day expressed as hh:mm:ss |
WORDxxx | represents a number (for example, &WORD4) These are variables created by the Rule Processor to represent the different words in the text of the event that fire a Rule. The variable &WORD3 should resolve to the third word of the text of the event. Word variables are delimited by blanks and commas in the text. The message text used to return WORD variables is a maximum length of 512 for CICS TD messages and 255 for all others. |