Work with notification

This information describes how to use the notification function of Advanced Job Scheduler.

Within notification, you can perform a series of tasks. Notification allows you to specify recipient properties and report distribution list properties. In addition, you can send e-mail messages and set up an escalation list in case a recipient does not respond within a specified amount of time.

Before you can send an e-mail message, you need to specify a mail server to use for notification.

The following are highlights of the notification function of Advanced Job Scheduler:

Recipient
When scheduling a job, you can specify whether to send notification messages to specified recipients. You can send a notification message if a job fails, completes successfully, or does not start within a specified time limit. For each specified recipient, you need to define the recipient's properties. You can access the recipient's properties by selecting Advanced Job Scheduler > Notification > Recipients, and then select a recipient from the list of recipients.
Report distribution list
Use a report distribution list to specify a list of spooled files that are eligible for distribution. Each spooled file produced by a job is checked to see if a match exists within the spooled file list. If so, the recipients associated with that spooled file receives a copy of the spooled file via e-mail, a duplicate of the spooled file in their output queue, or both. You can access report distribution lists by selecting Advanced Job Scheduler > Notification > Report distribution list.
E-mail
You can send an e-mail message to any recipient that is defined in the list of recipients as well as specific e-mail addresses. The recipient's properties must specify an e-mail address to send the message to. When sending an e-mail message, you can attach a spooled file. The spooled file can be sent in PDF format. In addition, you can specify an escalation list to use if the intended recipient does not respond within a specified period of time.
Related concepts
Start of changeThe Work Flow ManagerEnd of change
Related tasks
Create and schedule a job
Create and schedule a job group
Predefined schedules
Create a temporary scheduled job
Schedule job dependencies
Monitor job activity for the Advanced Job Scheduler
Monitor for messages with Advanced Job Scheduler
Create and work with local data area
Create and work with applications/job controls
Work with library lists
Work with command variables

Specify a spooled file to attach to an e-mail

To specify a spooled file to attach to an e-mail, complete the following:

  1. Expand Basic Operations from your iSeries Navigator window.
  2. Click Printer Output.
  3. Right-click the spooled file and click Send via AJS.
  4. Specify a recipient, subject, and message.
Note: This also can be done from Output Queues.
Escalation list
An escalation list specifies a list of recipients in descending order. The recipients are notified in the order that they are listed. If the first recipient does not respond to the message, the message is sent to the next recipient. This process continues until a response is made. To define an escalation list, go to Advanced Job Scheduler > Notification > Escalation Lists.

Stop a message from escalating

To stop a message from escalating, complete the following:
  1. Expand Work Management from your iSeries Navigator window.
  2. Click Advanced Job Scheduler > Notification > E-mail > Sent.
  3. Right-click the escalating message and click Stop.
    Note: To view only escalating messages, select View > Customize this view > Include from the iSeries™ Navigator window. Then, in the Type field, select Escalating.