On Wed, 18 Sep 2013 17:10:12 -0400, Shmuel Metz (Seymour J.) wrote:
>
>on 09/18/2013 at 01:52 PM, Thomas Berg said:
>
>>OTOH, there is no dataset in action here. Just a ddname plus the
>>dummy function...
>
>Equivalent to DSN('NULLFILE')
>
>The key point is reusing an allocation that is not marked as not in
>use. That's squirrely even if it's documented somewhere.
>
Is "in use" synonymous with "open"? Squirrely either way. How can
the user control the "in use" status? Does either TSO ALLOCATE
or BPXWDYN provide a keyword?
I discover that:
o If I supply an attribute, such as "recfm(V,B)", the allocation is not
reused, even if I supplied the identical attribute on the previous
allocation.
o "path('/dev/./null') pathopts(ORDWR)" is not reused. ( "path('/dev/null')"
is converted to DUMMY for some documented but inexplicable reason.)
What economy is gained by reusing/converting allocations? I doubt that
it offsets the complexity, confusion, and pitfalls the practice inflicts on
programmers.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN