I'm not really sure what you are trying to accomplish. Are your programs batch and you are trying to make them interactive as well? ... Or are they interactive and you are making them run in batch.

Regardless, a display file is for I/O to a terminal. When you run in batch, there is no terminal to attach to. Subfiles won't work in batch.

Maybe a little clarification would help.

Jim Essinger
Senior Programmer/Analyst

At 06:46 PM 5/7/2003 +0530, you wrote:

We are trying to modify subfile programs so that they could be run
interactively as well as in batch mode. For that we compiled the Display
file with the Display Device option as *NONE>
Now in the program whenever there is a Read or Write operation on the
Subfile, the program is Crashing. Is there any way of dealing with this
situation, without actually doing away with the Read or Write operations ?

This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

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-2022 by 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.