AS400 Job Scheduler

In AS400, the jobs can be run either in batch mode or in interactive mode. The time user enter into the AS400 system, the interactive job gets started and it require user intervention.

But any process/job that keeps running even after user logged off and does not require user intervention are the batch jobs in AS400.

Batch jobs that needs to be run at specified days or times on a reqular basis on AS400 system requires to use the Job Control or Job Scheduler. The job scheduler that is built into the operating system is pretty good and will allow you to submit jobs at specified dates and times.

User can access the built in job scheduler by using the command WRKJOBSCDE.

Using the job scheduler, one can maintain all the job entries and set the specific days or time to get job trigger automatically. So each job schedule entry (batch job) contains the information needed to automatically submit a batch job once or at regularly scheduled intervals.

One can also do an immediate submit of a scheduled job from here but has to be careful doing an immediate submit of a job though as if you setup your job in the default way, then immediate submits will use the current library list settings from your job. To prevent that you need to be sure to setup the job scheduled entries to take the setting from a specific *JOBD or a specific *USRPRF.

Although the built in job scheduler is very good, but still there are some limitations of it. One thing that it doesnt handle is any dependancies between jobs you want to run. So to overcome this IBM offers their own advanced job Scheduler for system that allows to run jobs manually, based on schedule or based on some event(like to trigger after completion of other job).

About the Author

ankush_gupta

ankush_gupta

Related Posts

X