Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2109
  • Last Modified:

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?
0
bobdylan75
Asked:
bobdylan75
1 Solution
 
_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.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now