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
 
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: 7314

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: 2445
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: 7314

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 How to insert a value on specific pos... Poha Eater DFSORT/ICETOOL 9 Sun Oct 01, 2017 3:04 am
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm
No new posts Route a product's job to specific lpar vasanthz All Other Mainframe Topics 9 Thu Mar 02, 2017 2:22 am

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