Is there any means to schedule a job to run at a particular time, somekind of parameter that could be added to the JCL which would trigger the job at that instance otherthan using schedulers like OPC, CA7??
Joined: 12 Sep 2007 Posts: 30 Location: Los Angeles, Ca
There's nothing in JCL. However, there are JES2 automatic commands that could be run off a timer. You could submit the auto command from your job via an IEBEDIT.
The command could look like this:
/*$TA,T=36.00,'$VS,''S JOB,MBR=MYJOB '''
This will submit a job at 12 noon. Caveats:
1) There must be a proc named JOB in the proclib concatenations.
2) The proc also (from my sample) have a substitutinal parameter of JOB. That proc is normally an IEBEDIT job (or any program that can submit a job to the internal reader) and point to the PDS that has a member JOB.