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

Executing JCL specific steps at specific times


IBM Mainframe Forums -> JCL & VSAM
Post new topic   This topic is locked: you cannot edit posts or make replies.
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Feb 22, 2016 2:22 pm
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
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Feb 22, 2016 2:57 pm
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
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Feb 22, 2016 3:31 pm
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. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Build a record in output file and rep... DFSORT/ICETOOL 11
No new posts CA7 deleting files in steps after job... CA Products 4
No new posts executing XCTL command in COBOL witho... CICS 10
This topic is locked: you cannot edit posts or make replies. Construct new record using specific f... DFSORT/ICETOOL 6
No new posts Receiving RC 5 when executing REXX pr... CLIST & REXX 3
Search our Forums:

Back to Top