× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: display screen in a program, but not used when program called frombatch
  • From: tomh@xxxxxxxxx
  • Date: Thu, 5 Apr 2001 07:57:05 -0500


Can you condition the display file with an external indicator?  Your CL would turn on the indicator if the job is interactive, turn it off if the job is batch.



booth@martinvt.com
Sent by: owner-midrange-l@midrange.com

04/04/01 08:36 PM
Please respond to MIDRANGE-L

       
        To:        midrange-l@midrange.com
        cc:        
        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
_______________________


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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.