Assigning the general properties
You can follow these instructions to 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 are not allowed to run.
You can specify the working days that jobs processes, 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 is 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 are not 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.
To set up the general properties for the Advanced Job Scheduler, follow these steps on the web :
- Expand Work Management from your IBM Navigator for i window.
- Expand Advanced Job Scheduler and click Properties.
- 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.
- Specify the Log retention. The log retention specifies, in days, how long you want to retain Advanced Job Scheduler log entries.
- You can specify a Reserved period. Jobs do not run during this time.
- 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.
- 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.
- 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.
- 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.