The iSeries Blog

Mar 27 2007   11:50AM GMT

Monitoring for *Escape messages in AJS (Advanced Job Scheduler)

Brein Matturro Profile: Brein Matturro

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:

  1. Open Work Management from your iSeries™ Navigator window.
  2. Right-click Advanced Job Scheduler.
  3. Click Scheduled Jobs to list jobs.
  4. Right-click the scheduled job and click Properties.
  5. Select the command from the list and click Properties.
  6. Click Messages.
  7. 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…


 Comment on this Post

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: