On Fri, 23 Sep 2016 17:34:25 -0400, Farley, Peter x23353 wrote:
>
>When you allocate it yourself you have to supply a real name or don't provide 
>a name at all, but I don't know if SVC99 allows that, check the docs for SVC99 
>for the DSNAME unit.
> 
It's allowed.  BPXWDYN( 'alloc rtddn(NAME) ...' ) implements it in Rexx.  I use 
it regularly
to avoid conflicts with otherwise allocated DDNAMEs.  I pass the returned 
NAME's value to
a utility (for me, usually IEBGENER, but could be HLASM) by using the alternate 
DDNAME
list described in the Utilities manual, probably elsewhere.

Yes, the generated name persists only for the job step (or UNIX fork) but you 
can use the
SYSLIN passed to HLASM as SYSLIN for Binder in the same EXEC, or simply use it 
in
generated 'INCLUDE' NAME'(member)' Binder commands.

Hmmm.  I don't know how to use BPXWDYN (or SVC 99) to generate a DSName and a
DDNAME but let me supply the member name.  I suspect this is supported by SVC 99
but BPXWDYN may have no interface for it.

-- gil

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

Reply via email to