Solved

CLLE As400, How to wait 5 minutes?

Posted on 2010-09-24
3
1,193 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help needed with DCM certificate renewal 9 347
Install CPIO 1 165
RPG to c# 3 339
Calling an iSeries system API (QWDRSBSD) from C# 4 442
Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Fine Tune your automatic Updates for Ubuntu / Debian
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

919 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now