Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Executing JCL specific steps at specific times

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Shruti Takkar

New User


Joined: 09 Apr 2015
Posts: 5
Location: india

PostPosted: Mon Feb 22, 2016 12:39 pm    Post subject: Executing JCL specific steps at specific times
Reply with quote

Hi All,

I have a JCL which is calling a PROC containing 3 steps(step1,step2,step3).

I need to execute this JCL twice in a day once at 5am and once at 5pm.

At 5am, i need to execute step2 only.

At 5pm, i need to execute step1 and step3 only.

Please let me know how can i achieve this.

Thanks,
Shruti
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Mon Feb 22, 2016 2:22 pm    Post subject: Reply to: Executing JCL specific steps at specific times
Reply with quote

So, you tell your Scheduler people.

If you are the only one using that PROC, split it in two.
Back to top
View user's profile Send private message
Shruti Takkar

New User


Joined: 09 Apr 2015
Posts: 5
Location: india

PostPosted: Mon Feb 22, 2016 2:25 pm    Post subject:
Reply with quote

Many thanks for your reply!!

We are using control M Scheduler.

I will not be able to split the Proc as it is being used by multiple applications.

Is there any other way out?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2433
Location: Netherlands, Amstelveen

PostPosted: Mon Feb 22, 2016 2:57 pm    Post subject:
Reply with quote

Make 2 new procs, specially for those 2 occasions.
Back to top
View user's profile Send private message
Shruti Takkar

New User


Joined: 09 Apr 2015
Posts: 5
Location: india

PostPosted: Mon Feb 22, 2016 3:01 pm    Post subject:
Reply with quote

Thanks for your reply!!

Is there any other way apart from splitting of Procs?

Is this achievable through JCL and scheduler modifications?
Back to top
View user's profile Send private message
Shruti Takkar

New User


Joined: 09 Apr 2015
Posts: 5
Location: india

PostPosted: Mon Feb 22, 2016 3:04 pm    Post subject:
Reply with quote

Splitting of procs would mean creating two different jobs and schedule them at different times using control M Scheduler.

I am looking forward to execute same job at two different times with different steps.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Mon Feb 22, 2016 3:31 pm    Post subject: Reply to: Executing JCL specific steps at specific times
Reply with quote

Talk to your Scheduler people. They will tell you how they want it done.

The topic is already Locked.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    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 Route a product's job to specific lpar vasanthz All Other Mainframe Topics 9 Thu Mar 02, 2017 2:22 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
No new posts how to split records based on specifi... Venkata Ramayya DFSORT/ICETOOL 6 Wed Sep 28, 2016 3:20 am
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us