

Coding Each AOF Rule Type › Command Rules › )CMD—Event Specifier of CMD Rules › JES2 Command Guidelines
JES2 Command Guidelines
Use these guidelines when writing rules that respond to JES2 commands:
- To trigger on JES2 commands, specify the JES2 command character followed by the first letter of the JES2 command.
Example
If $ is the JES2 command character and you want to trigger on the $TI initiator command, then specify:
)CMD $T.
- Add logic to the )PROC section of the rule to interrogate the CMD.TEXT event variable and see the JES2 command that was entered.
- For both JES2 and z/OS, use a delimiter character to enter more than one command on a single line. JES2 uses a semicolon to delimit multiple commands. z/OS uses the character that is specified by the CMDDELIM parameter in the CONSOLxx member of the logical PARMLIB concatenation.
The CMD rule specifier traps stacked JES2 commands with an impact from the:
- Type of issuing console. For example, extended, MCS, and SMCS.
- Setting of the z/OS CMDDELIM parameter.
Copyright © 2014 CA.
All rights reserved.
 
|
|