HI!
I'm searching for information about event management in Workload Automation AE. For example, I'd like to get automatic messages when the job fails.
The only information I found:
Export EM database by command:
oprdb script db > filename.txt
For example, it can look like
define msgrec
msgid="CAUAJM_I_40245 EVENT: CHANGE_STATUS STATUS: FAILURE JOB: * MACHINE: * EXITCODE: *"
type="MSG"
cont='N'
msgact='Y'
wcsingle='?'
wcmany='*'
case="y"
regexp="n"
define msgact
name=(*,100)
action="UNIXSH"
attrib="DEFAULT"
color="DEFAULT"
evaluate='Y'
quiet='N'
runid="autosys"
status="ACTIVE"
sim='N'
First part is the message, second is the action. It can be updated with any text editor.
Import file back to EM by command:
cautil –f filename.txt
Reload definitions to EM by command (without that it will not be taken into account):
oprcmd opreload
NOTE: if you need to change definition which already exists in EM database, you must delete old defition from database before you import a new one. This can be done with the command, for example:
cautil "DELETE msgrecord msgid='CAUAJM_I_40245 EVENT: CHANGE_STATUS STATUS: FAILURE JOB: * MACHINE: * EXITCODE: *'"
The syntax is messy and be carefull with the ' and ".
Can anyone give me a link to a resource with more detailed information about event management?