Solved

CLLE As400, How to wait 5 minutes?

Posted on 2010-09-24
3
1,525 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

718 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