|
You can use the following to display a message on qsysopr that needs a reply Before it comes back to your CLP program SNDUSRMSG MSG('>>>> END OF DAY MESSAGE <<<< - IS IT + OKAY TO EXECUTE MONDAY PROCEDURES? (Y OR + N) ?') VALUES(Y N) MSGRPY(&REPLY) &REPLY is defined as *char with a length of 1 Andy Renk Chambers & Owen, Inc. -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Greg Wenzloff Sent: Wednesday, September 27, 2006 9:27 AM To: midrange-l@xxxxxxxxxxxx Subject: Pause technique I've got a multi step job that is run only once at the end of each fiscal year (this weekend). Each step updates data related to standard costs. Each subsequent step is dependant on the success of the one before it and I need to verify this by examining the data at each step else I can end up with a real mess. The job is designed to run in batch mode although it could be run interactively since I will be the only one on the computer when it is run. My question is what is a simple technique to pause the CLP after each step of the job? If I set it to run interactively I could add a simple program to put up a display file which waits for the Enter key. But I would like to keep this in batch mode for speed. Any suggestions? Simple is better. Thanks, Greg
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.