On Wed, 13 Sep 2006 14:45:03 -0700, Charles Mills <[EMAIL PROTECTED]> wrote:
>One of my long-time gripes. How many hours and hours of time have been >wasted on this restriction/shortcoming/whatever? On figuring out the >"problem"? On writing a little program to prime the dataset? How hard would >it have been to have made (make?) VSAM smart enough to return EOF for the >first read of a new ESDS? Why is it a problem that VSAM was designed with the requirement that it had to be written to before it could be read? I've seen this behavior to prevent applications from processing a newly created data set as though it had data in it and otherwise cause havoc. > >Am I missing something? Is there any benefit to the current behavior, other >than full employment for application prorgrammers writing the dummy load >program, and system programmers telling them that they have to do it? > No, you aren't missing something. I am. Why is it so important to be able to read a file that is known to be empty? Tom Marchant ---------------------------------------------------------------------- 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

