Examples of using ALERT PRI and DLY keywords
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(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.
*this example shows 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,'PRI(T) DLY(10):.D E A') *this is specification is invalid because the PRI() keyword is not valid with BBI commands
Example 4
"'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')"