CLLE As400, How to wait 5 minutes?

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?
bobdylan75Asked:
Who is Participating?
 
_b_hCommented:
Use the Delay Job (DLYJOB) command:
DLYJOB DLY(300)  
which delays the program 5 minutes (300 seconds)

0
 
tliottaCommented:
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
 
bobdylan75Author Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.