A lot of System Administrators utilize BRMS and IBM’s Advanced Job Scheduler to backup thier systems.
In the past, one of the major drawbacks to the AJS was the fact that you couldn’t directly monitor for *Escape messages within the AJS command definitions. You had to create a CLP shell in order to do this.
Well… I don’t know when this changed, but I was looking through the AJS documentation the other day and stumbled across this:
Monitor for messages with Advanced Job Scheduler
Add message identifiers to any command within the command list of a job to monitor messages.
Each command in the command list of a job can have message identifiers that will be used for monitoring. When the job runs and an error message is issued that matches one of the messages entered for the selected command, the job logs the error but continues processing with the next command in the list.
If zeros are specified in either two or all four of the rightmost positions, such as ppmm00, a generic message identifier is specified. For example, if CPF0000 is specified, all the CPF messages are monitored.
To add message identifiers to a command, follow these steps:
- Open Work Management from your iSeries™ Navigator window.
- Right-click Advanced Job Scheduler.
- Click Scheduled Jobs to list jobs.
- Right-click the scheduled job and click Properties.
- Select the command from the list and click Properties.
- Click Messages.
- Enter the message identifiers to monitor and click Add.
This feature is not available via the Green Screen interface to AJS. That is why I didn’t run into this a long time ago! One more reason to start using the iSeries navigator GUI interface!
Check it out…