Solved

CLLE As400, How to wait 5 minutes?

Posted on 2010-09-24
3
1,282 Views
Last Modified: 2012-05-10
I need the make a clle program that starts, waits 5 minutes and ends.
How to do so?
What is the command to be use?
0
Comment
Question by:bobdylan75
3 Comments
 
LVL 13

Accepted Solution

by:
_b_h earned 500 total points
ID: 33753161
Use the Delay Job (DLYJOB) command:
DLYJOB DLY(300)  
which delays the program 5 minutes (300 seconds)

0
 
LVL 27

Expert Comment

by:tliotta
ID: 33756934
The correct answer to the question was given by _b_h. But a "program that starts, waits 5 minutes and ends" generally isn't a correct business question. What business problem are you trying to solve? (...Assuming that this isn't homework.)

Generally, a business problem might be that a process must be delayed until some previous (asynchronous) process finishes. You might estimate that "5 minutes" would be long enough. But there can be many reasons that the estimate is too long or too short. So, the problem becomes "How can I wait until ProcessX finishes?" A basic description of ProcessX would indicate the appropriate action.

Tom
0
 

Author Closing Comment

by:bobdylan75
ID: 33778625
thanks
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question