Newer version of documentation BMC provides a newer version of the documentation for this version of the product. As a result, BMC no longer accepts comments in this space.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see bao8301.

Examples of using ALERT PRI and DLY keywords


You can use the PRI keyword as an imbedded keyword with the AOEXEC ALERT keywords EXEC, ESCCMD, and ESCEXEC to designate the priority of an EXEC scheduled by the EXEC.

This imbedded PRI keyword performs a completely separate function from the AOEXEC ALERT PRIORITY keyword, which specifies the priority of the ALERT.

The following section lists some additional information about using the imbedded version of the PRI keyword.

  • When you use the imbedded PRI keyword, you must use the one character abbreviation as follows:
    • N: Normal priority
    • H: High priority
    • T: Hot priority
    • F: First priority
    • S: Single priority
    • X: XSingle priority

      Do not use the full word: NORMAL, HIGH, HOT, FIRST, SINGLE or XSINGLE.

  • You must specify the embedded PRI keyword before the EXEC name and any additional parameters.
  • You cannot use the imbedded PRI keyword with the ESCCMD keyword when the ESCCMD keyword 'type' specifies a BBI, CICS, IMS, IMP, MVS, MQ, or NV command.
  • You can use the imbedded PRI keyword with the ESCCMD keyword when the ESCCMD keyword 'type' specifies 'EXEC'.

For information about using the PRI keyword with EXECs, refer to AOEXEC-SELECT.

You can also use the DELAY|DLY keyword as an imbedded keyword with the EXEC, ESCCMD, and ESCEXEC keywords. To delay the action after the EXEC runs, specify a value with DELAY between 0 and 99,999 seconds.

  • You must specify the imbedded DELAY keyword before the EXEC name or a command
  • You cannot use the imbedded DELAY keyword with the ESCCMD keyword when the ESCCMD keyword 'type' specifies a BBI, CICS, IMS, IMP, MVS, MQ, or NV command.

The following examples show the use of the PRI and DLY keywords with ESCCMD.

Example 1

This example shows three correct uses of the PRI and DLY keywords.

ESCCMD(EXEC,'PRI(F) DLY(15):execname parm1')
ESCCMD(MVS,'DLY(5):C AAODL71')
ESCCMD(MVS,'C AAODL71')

Example 2

This example shows an example of using two colons to separate multiple EXEC names.

ESCCMD(EXEC,'DLY(10):execnam1 parm1::execnam2 parm1')                  
*note that 2 EXECs are specified, separated by 2 colons

Example 3

In this example, PRI is not a valid keyword when commands are specified

ESCCMD(BBI,'DLY(10):.D E A')        * this is valid
ESCCMD(BBI,'PRI(T) DLY(10):.D E A') *this is an invalid specification because
the PRI() keywwrd is not valid when a BBI command is specified

Example 4

'IMFEXEC ALERT DAVE2KEY2',
''LOCAL EXEC ESCLATION FINAL ACTION COMMAND'',
'FUNCTION(ADD) QUEUE(DAVE2XX) TARGET(DL71)',
'EXEC('PRI(F) DLY(10):EXECFRST DUMMY 120')',
'PRIORITY(CRITICAL) COLOR(RED) DISPOSE(DELETE)',
'INTERVAL(1,1) ESCALATE(DOWN)',
'ESCCMD(EXEC,'PRI(T):IMFESCOK EXEC')'

Related topic

 

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