On 9/19/2013 3:19 PM, Richard Peurifoy wrote:
On 9/19/2013 8:13 AM, Paul Gilmartin wrote:

By surmise, I'll add another piece to the puzzle.  Since the specified
directory blocks is 0, allocation does not format a directory, and does
not write the terminating EOF.  Later, allocation sees that DSORG=PO,
and does not write an EOF (which would be real, not pseudo) at the
beginning lest it destroy the directory had it created one.  Subsequent
behavior depends on the residual content of the first allocated track.

This was my guess as well, and I have verified it with a GTF trace.

If directory blocks are specified or defaulted they are formatted at
allocation.

If directory blocks a specified as zero, none are formatted, and what
ever was on the track is still there. Generally it will not look like
a directory block and will cause an I/O error. But if you happen to
allocate over a former PDS you will see whatever directories it had.

Forgot to mention that this assumes you don't have erase on scratch

--
Richard

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to