IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

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: 7312
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: 2474
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: 7312
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. All times are GMT + 6 Hours
Forum Index -> JCL & VSAM
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Job is loading load modules several t... COBOL Programming 12
No new posts Identify the count from two diffrent ... DFSORT/ICETOOL 19
No new posts using TXT2PDF to colour specific lines All Other Mainframe Topics 3
No new posts doubt when executing a file when logg... TSO/ISPF 2
No new posts DFSORT to handle in between specific ... DFSORT/ICETOOL 6

Back to Top