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: 2468
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 count the number of times key ... vnktrrd DFSORT/ICETOOL 14 Thu Nov 15, 2018 9:19 pm
No new posts Facing issue while executing multi ro... aagarwal88 DB2 6 Tue Oct 02, 2018 8:11 am
No new posts SQL Code 302 while executing stored ... Ashishpanpaliya DB2 8 Wed Aug 01, 2018 7:54 pm
No new posts Error executing Java program in OSGI ... danik56 CICS 0 Thu Apr 26, 2018 12:16 am
This topic is locked: you cannot edit posts or make replies. Unavailable RECON datasets while exec... abdulrafi JCL & VSAM 10 Fri Apr 06, 2018 12:45 pm

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