IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Time Based submission of Jobs.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
harish_28111984

New User


Joined: 11 Dec 2007
Posts: 3
Location: Australia

PostPosted: Tue May 06, 2008 3:16 pm
Reply with quote

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
icon_razz.gif
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue May 06, 2008 4:05 pm
Reply with quote

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
View user's profile Send private message
harish_28111984

New User


Joined: 11 Dec 2007
Posts: 3
Location: Australia

PostPosted: Thu May 08, 2008 11:10 am
Reply with quote

Thanks for the reply.

we will have to follow the odd way till we get CTLM.
Back to top
View user's profile Send private message
hill

New User


Joined: 05 Oct 2005
Posts: 5

PostPosted: Wed May 21, 2008 4:29 am
Reply with quote

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
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 194
Location: India

PostPosted: Wed May 21, 2008 1:16 pm
Reply with quote

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Wed May 21, 2008 6:44 pm
Reply with quote

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
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 194
Location: India

PostPosted: Fri May 23, 2008 10:41 am
Reply with quote

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri May 23, 2008 7:12 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Finding and researching jobs All Other Mainframe Topics 0
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
Search our Forums:

Back to Top