Call it a design issue.  There is no flag in the VTOC that says if the 
file has data in it.

We have a series of in-house utilities to deal with this.

EOF opens and closes a series of QSAM files whose DDNAMEs are EOFnn where 
nn is 01, 02, 03, ...

Creating it is a good programming exercise.  I believe they can even be 
implemented in Cobol using the OPTIONAL file concept.

IBM Mainframe Discussion List <[email protected]> wrote on 5/23/2006 
7:04:29 PM:

> But, in the broader view, <SARCASM>Why can't IBM's premier OS,
> whose predecessors helped send men to the moon and back, do a
> better job of keeping track of where files end?</SARCASM>
> -- gil


-----------------------------------------
The information contained in this communication (including any
attachments hereto) is confidential and is intended solely for the
personal and confidential use of the individual or entity to whom
it is addressed.  The information may also constitute a legally
privileged confidential communication.  If the reader of this
message is not the intended recipient or an agent responsible for
delivering it to the intended recipient, you are hereby notified
that you have received this communication in error and that any
review, dissemination, copying, or unauthorized use of this
information, or the taking of any action in reliance on the
contents of this information is strictly prohibited.  If you have
received this communication in error, please notify us immediately
by e-mail, and delete the original message.  Thank you

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to