MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Exec a step at X HH:MM:SS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
bay hoe san
Beginner


Joined: 12 Dec 2006
Posts: 16
Topics: 9

PostPosted: Sat Feb 16, 2008 10:58 am    Post subject: Exec a step at X HH:MM:SS Reply with quote

Hello,

1. I need to exec a step with pgm/proc inside a JCL at every minutes. I will not be using any scheduler to help me achieve it. How to code in the JCL so that the step execute every min or at that particular timing after the JCL is submitted?
2. Pls advise.
Thanks.

.Hoe San.
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Sat Feb 16, 2008 12:28 pm    Post subject: Reply with quote

you don't. This is not what JCL is for.

Either use a scheduler, a cron job in Unix, submit the program from elsewhere like a PC or find some other design.

JCL is not a programming language. It does not have looping constructs and it uses a valuable resource (an initiator). You need to define what problem you are trying to solve and come up with a better design. If this is just the problem of triggering some action when a new file is created, then search this board (the answer is usually a scheduler or a cron job).
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group