On Wed, 21 Aug 2024 21:04:34 -0400, Bob Bridges wrote:

>I have two external REXX execs that I use frequently (depending on which one 
>you need):
>
>TEMPDD returns a DD name that is guaranteed not to be currently in use; it's 
>up to the caller to allocate it.  I can specify a prefix; for example, if I 
>call TEMPDD with arg "XYZ" then it might return "XYZ12345" or "XYZ01".
>
Does this have any advantage over BPXWDYN, which uses DYNALLOC to
not only select a guaranteed unique DD name but also to perform the
allocation?

Does this have a TOCTTOU hazard?

Does this require TSO?

>DSDD takes a string argument and returns a two-bit reply indicating whether 
>the string indicates an catalogued DSN and/or a currently allocated DDN.  If I 
>call DSDD with arg "XYZ", and it returns '01', then there's no DSN by that 
>name but my TSO session is currently using that DDN.
>
Is technical support available?

Why not use a standard facility such as BPXWDYN rather than RYO?

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to