On Wed, 21 Sep 2005 09:54:05 -0500 Barry Merrill <[EMAIL PROTECTED]> wrote:
:>You said: :>The search for the DSCB does not occur at that timel it occurs during OPEN. :>Please educate me further: The allocation of an existing dataset has to :>verify the dataset exists, by reading the VTOC to verify its existence, :>and since DATASET NOT FOUND errors occur prior to LOADTIME (i.e., during :>allocation, and before program load), I don't understand how the read :>of the VTOC for the DSCB can occur after the end of allocation. A DD statement does not cause a VTOC lookup. If no volser is specified it will cause a catalog lookup to determine the volume and allocate the volume to the job. If the dataset is not cataloged it will JCL error. As a side point, if a dataset is cataloged on a volume where it does not exist it will not JCL error. The 213-04 will only occur if opened. OPEN is what reads the VTOC, since it needs to build the DEB. :>Especially since a DATA SET NOT FOUND errors doesn't have a LOADTIME event. This "loadtime" is not a defined concept. -- Binyamin Dissen <[EMAIL PROTECTED]> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. ---------------------------------------------------------------------- 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

