On Sat, 11 Mar 2017 01:23:45 +0000, Graham Harris wrote:
>
>if the DSNAME is a system-generated SYSyyddd.Thhmmss.blah.blah  (which
>should be visible in JESMSG), then its a true temporary dataset.
>Its not really a 'no dataset name', but rather a system-generated one.
>You automatically get a temporary dataset if you do not specify a DSN=
>parameter at all.  Which should work in your particular example i think.
>
Except that I need to allocate it twice,  once as SYSEXEC, once as the
target for the REPRO:
>
>> //SYSEXEC   DD  DSN=&&SYSEXEC,UNIT=SYSALLDA,SPACE=(1,(1,,5))
>> //MEMBER   DD  DISP=SHR,DSN=&&SYSEXEC(MEMBER),
>> //  VOL=REF=*.SYSEXEC
>> //SYSIN    DD  *
>>   /* Rexx */ signal on novalue
>>   /* Body of Rexx EXEC ... */
>> //SYSTSIN  DD  *
>>     REPRO INFILE(SYSIN) OUTFILE(MEMBER)
>>     %MEMBER
>>
>> ...  a one-step job with an in-stream Rexx EXEC.
>>
I could use BPXWDYN( '...,RTDSN(),RTVOL()'), and no DSN, but I couldn't
bootstrap the EXEC to issue the BPXWDYN.  It would require at least
another job step.

-- 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