Working with notification
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.
- 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.
Parent topic:
Managing the Advanced Job SchedulerRelated concepts
The Work Flow ManagerRelated tasks
Creating and scheduling a job Creating and scheduling a job group Predefined schedules Creating a temporary scheduled job Scheduling job dependencies Monitoring job activity for the Advanced Job Scheduler Monitoring for messages with Advanced Job Scheduler Creating and working with local data area Creating and working with application controls and job controls Working with library lists Working with command variables
Specifying a spooled file to attach to an e-mail
To specify a spooled file to attach to an e-mail, complete the following:
- Expand Basic Operations from your iSeries Navigator window.
- Click Printer Output.
- Right-click the spooled file and click Send via AJS.
- Specify a recipient, subject, and message.
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.
Stopping a message from escalating
To stop a message from escalating, complete the following:
- Expand Work Management from your iSeries Navigator window.
- Click Advanced Job Scheduler > Notification > E-mail > Sent.
- Right-click the escalating message and click Stop.
To view only escalating messages, select View > Customize this view > Include from the iSeries Navigator window. Then, in the Type field, select Escalating.