• Subject: Re: If %Open() vs CLOSE(E)
  • From: bmorris@xxxxxxxxxx
  • Date: Fri, 19 Jan 2001 09:41:15 -0500
  • Importance: Normal

Date: Wed, 17 Jan 2001 20:49:18 -0500
From: "M. Lazarus" <mlazarus@ttec.com>

>>Mark, it's not an error in RPG to close a file that's already closed.

>  Then why does it support the (E) extender (it does, right?)?  In what
>case(s) would an error be generated?

mark, it's possible to get an error closing a file, but it would
be a system error, not an error determined by the RPG compiler.
For example, say you have an invalid date in one of the blocked
output records.  The system won't find out about it until the file
is closed.  I'm sure there are lots of things that can cause a
CLOSE to file; especially DDM files or files under commitment control.


| 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

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