• Subject: RE: display screen in a program, but not used when program called from batch
  • From: "Joe Pluta" <joepluta@xxxxxxxxxxxxxxxxx>
  • Date: Wed, 4 Apr 2001 21:09:15 -0500
  • Importance: Normal

Make the display file user controlled, and only open it if you are not in
batch mode.

Joe


> -----Original Message-----
> From: owner-midrange-l@midrange.com
> [mailto:owner-midrange-l@midrange.com]On Behalf Of booth@martinvt.com
> Sent: Wednesday, April 04, 2001 8:36 PM
> To: midrange-l@midrange.com
> Subject: display screen in a program, but not used when program called
> from batch
>
>
> I've written an RPGIV program that uses a display file to get information
> if the information is missing from a record.
>
> In one circumstance I wish to schedule the job to run in batch at
> night. I
> have already ensured the information is not missing, so the display file
> will not be needed.   However the batch job fails anyway.
>
> Is that what is supposed to happen, or is there another error I am not
> finding?
>
> Is there a way to resolve this issue without writing a second identical
> program sans display?
>
> Thank you for your ideas, they are always welcome.
>
> _______________________
> Booth Martin
> Booth@MartinVT.com
> http://www.MartinVT.com
> _______________________
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
> MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
> david@midrange.com
> +---
>

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].