View previous topic :: View next topic
|
Author |
Message |
harish_28111984
New User
Joined: 11 Dec 2007 Posts: 3 Location: Australia
|
|
|
|
Hi,
I have a required to submit a job on particular day on particular time, There is no CA7 or Control M installed, we manage all through cycles by submiting one job, at end which submits another etc..
Is there any way to do it in JCL to start at a paticular time.
Thanks fot the help.
Thanks,
Harish.A
|
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
harish_28111984 wrote: |
Is there any way to do it in JCL to start at a particular time. |
No, there is not.
You'll need an external event processor, something that it time-aware, to drive this type of process. |
|
Back to top |
|
|
harish_28111984
New User
Joined: 11 Dec 2007 Posts: 3 Location: Australia
|
|
|
|
Thanks for the reply.
we will have to follow the odd way till we get CTLM. |
|
Back to top |
|
|
hill
New User
Joined: 05 Oct 2005 Posts: 5
|
|
|
|
1 starts Jan 20 1986 #2 starts at 2PM every Saturday #3 is obvious.
//*MAIN DEADLINE=(0700,B,012086)
//*MAIN DEADLINE=(1400,A,6,WEEKLY)
//SYSIN DD *
JES RELEASE DATE=(30,2004,TIME=1900)
/* |
|
Back to top |
|
|
HappySrinu
Active User
Joined: 22 Jan 2008 Posts: 194 Location: India
|
|
|
|
Hill,
Are these commands given by you are only for JES3. I tried in JES2 which is available in our shop but no luck.
given line after job card like below but no use.
//*MAIN DEADLINE=(0335,B,4,WEEKLY)
help me if i am wrong |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
If the job is to be submitted later the same day, you can issue time-based automatic commands thru JES2. We have a job that runs after midnight to queue up all the automatic commands for the day.
Code: |
$T A,T=12.30,'$VS,''I SMF'' ' |
will issue the command I SMF at 12:30. You could have a command to submit jobs from your JCL library. |
|
Back to top |
|
|
HappySrinu
Active User
Joined: 22 Jan 2008 Posts: 194 Location: India
|
|
|
|
not clear on your command,
can you be specific on where to give the commands.
let's take an example, suppose if i want my jcls to run every friday 5AM then
what are the commands?
where to give the commands?
how will the jes2 recognise that job should run every friday if we place those statements? |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
The command is entered at the console or thru JCL statements in a submitted job if you're allowed. After midnight Friday morning the command should be entered. All commands are for the same day.
You need a simple started task to copy your JCL to the INTRDR. Check SYS1.PROCLIB(RDR) for a sample.
To submit your job at 4:00 pm, use command
Code: |
$T A,T=16.00,'$VS,''S RDRTASK'' ' |
For more info, check the JES2 books for Automatic Command processing. |
|
Back to top |
|
|
|