Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Time Based submission of Jobs.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Time Based submission of Jobs.
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

Moderator Team Head


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

PostPosted: Tue May 06, 2008 4:05 pm    Post subject: Re: Time Bassed submission of Jobs.
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    Post subject: Reply to: Time Based submission of Jobs.
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    Post subject: Time start. Do these still work?
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: 195
Location: India

PostPosted: Wed May 21, 2008 1:16 pm    Post subject: Reply to: Time Based submission of Jobs.
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    Post subject:
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: 195
Location: India

PostPosted: Fri May 23, 2008 10:41 am    Post subject: Reply to: Time Based submission of Jobs.
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Split files upto certain limit based ... bubbu75 DFSORT/ICETOOL 5 Tue Nov 14, 2017 11:11 pm
No new posts Comparision with current time arunsoods DFSORT/ICETOOL 5 Thu Nov 09, 2017 10:37 am
This topic is locked: you cannot edit posts or make replies. Comparing current time with the time ... arunsoods SYNCSORT 1 Mon Oct 30, 2017 4:07 pm
This topic is locked: you cannot edit posts or make replies. Incrementing current time field by 30... arunsoods DFSORT/ICETOOL 11 Thu Oct 26, 2017 3:22 pm
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us