|
Rob, The original post was how to convert an interactive program to run in batch quickly with a minimal amount of changes. The switch was for the display file which can't open in batch without causing a runtime error. I wouldn't code a program from scratch using this technique. Rick -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of rob@xxxxxxxxx Sent: Friday, July 08, 2005 9:55 AM To: RPG programming on the AS400 / iSeries Subject: RE: Running a program with a display file in batch Yes, but with manual opens and closes you can handle the logic from within the RPG program if there's a problem. open(e) MyFile; if %error; Select; When %status(MyFile)... ... EndSl; EndIf; If you care enough about your users to go to that level. Rob Berendt
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.