Hi I have UNIT=VIO
I just read where this can only be specified on a temporary dataset and as I have been told I can't do that with SVC 99 -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Paul Gilmartin Sent: Friday, September 23, 2016 6:06 PM To: [email protected] Subject: Re: S99ERROR = 21C For &&OBJ 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
