In a recent note, Charles Mills said: > Date: Sun, 21 Jan 2007 10:14:28 -0800 > > BTW, and FWIW, I have solved the problem by adding to the code a branch to > normal EOF if after opening the input DCB, and before issuing the first GET, > the DCBBLKSI is zero. Given the full circumstances of the situation, I see > it as a normal condition -- an empty input dataset -- and not an error. > But this leaves a pitfall. If a user allocates the data set supplying RECFM, LRECL, and BLKSIZE, but never opens it, you are at the mercy of the previous content of the allocated space, and can ABEND on "READ WRONG LENGTH RECORD" if the first block read exceeds BLKSIZE, etc.
I stand by my belief that the access method should enter EODAD on any attempt to read beyond DS1LSTAR. Spare the programmer the grief of performing that check himself. -- gil -- StorageTek INFORMATION made POWERFUL ---------------------------------------------------------------------- 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

