On Tue, 18 Jan 2022 12:35:57 -0700, Sri h Kolusu wrote:
>> The OP wants to RECEIVE to a temp DSN and PASS that data set to a
>> subsequent job step.
>
>Well if REXX is an option then he can allocate a temp dataset and get the
>name using LISTDSI
> ... and then issue the RECEIVE command. OP then needs to
>finish the next step processing also in the same rexx.
>
OP's mention of a subsequent job step may have been overspecification.
>/* REXX */
>"ALLOC DD(MYRCVD) NEW REU UNIT(SYSDA) RECFM(F B) LRECL(80),
> SPACE(75,30) TRACKS DIR(30) DSORG(PO)"
>
Some of those attributes are available only from RECEIVE's prompt.
>DDINFO = LISTDSI("MYRCVD" "FILE")
>SAY "TEMP DATASET NAME: "SYSDSNAME
>X=PROMPT('ON')
>X=MSG('ON')
>RECEIVER='Userid'
>RCVPARMS=''
>OUTDSN=SYSDSNAME
>QUEUE "DATASET('"OUTDSN"') "RCVPARMS
>
Does this require either that DSN be catalogued or VOL be suppled?
>QUEUE "END"
>"RECEIVE USER("RECEIVER")"
>....
>next step process here
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN