View previous topic :: View next topic |
Author |
Message |
bay hoe san Beginner
Joined: 12 Dec 2006 Posts: 16 Topics: 9
|
Posted: Sat Feb 16, 2008 10:58 am Post subject: Exec a step at X HH:MM:SS |
|
|
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 |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Sat Feb 16, 2008 12:28 pm Post subject: |
|
|
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 |
|
|
|
|