Assign the general properties

Assign the general properties used by Advanced Job Scheduler. You can specify how long to retain activity and log entries for the Advanced Job Scheduler, as well as the period that jobs will not be allowed to run.

You can specify the working days that jobs will process, and whether an application is required for each scheduled job. If you have a notification product installed, you can also set up the command that will be used to send a notification when a job completes or fails or you can use the Send Distribution using Job Scheduler (SNDDSTJS) command to notify a recipient

You can specify how long to retain activity records for jobs, as well as the period that jobs will not be allowed to run. You can specify the working days that jobs are allowed to process, and whether an application is required for each submitted job.

You can have a notification product installed which allows you to receive a notification (message) when a job ends. You can define the notification command that will send a notification when a job completes or fails or you can use the Send Distribution using Job Scheduler (SNDDSTJS) command to notify a recipient.

To set up the general properties for the Advanced Job Scheduler, follow these steps:

  1. Expand Work Management from your iSeries Navigator window.
  2. Right-click Advanced Job Scheduler and click Properties.
  3. Specify the Activity Retention. The activity retention is how long you want to retain the activity records for jobs. The possible values are 1 to 999 days or occurrences. Click Days to specify if you want to keep activity for a certain number of days, or click Occurrences per job if you want to keep activity for a certain number of occurrences per job.
  4. Specify the Log retention. The log retention specifies, in days, how long you want to retain Advanced Job Scheduler log entries.
  5. You can specify a Reserved period. Jobs will not run during this time.
  6. Specify the working days from the list. If a day is selected, it is designated as a working day and can be referenced when scheduling jobs.
  7. Click Application required for scheduled job to designate whether an application is required for each scheduled job. Applications are jobs that have been grouped together for processing. This cannot be selected if existing jobs do not contain an application. If you choose to have an application required for certain jobs, go to working with applications.
  8. Click Calendars to set up the scheduling, holiday, and fiscal calendars to use, set up holiday calendar, and set up fiscal calendar.
  9. Click Base periodic frequency on start time to base the next run time on the start time for jobs that are scheduled to run periodically. For instance, a job is to run every 30 minutes, starting at 8:00 am. (For a job to run around the clock, specify 7:59 am as the ending time.) The job runs for a total of 20 minutes. With this field checked, the job runs at 8:00 am, 8:30 am, 9:00 am, and so on. If this field is not checked, the job runs at 8:00 am, 8:50 am, 9:40 am, 10:30 am, and so on.
  10. Click Reset held jobs to continue to recalculate and display the next date and time a held job runs.
  11. Specify a Start time of day. This is the time of day that you consider starts a new day. All jobs that are specified to use this time of day will have their job date changed to the previous day if the time the job starts is before the Start time of day field.
  12. Specify a Job monitor user. This field specifies the name of the user profile to use as the owner of the monitor job. All jobs that have Current user specified use the user profile of the monitor job. The monitor job's default user profile is QIJS.
  13. In the Notification command field, you can specify a command. Use the Send Distribution using Job Scheduler Notification (SNDDSTJS) command supplied with the system or a command specified by your notification software. The SNDDSTJS command uses the Advanced Job Scheduler notification function. The designated recipients can receive messages for normal and abnormal completions of job scheduled entries.