VOL=, yes, but not an explicit VOL=SER=.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
Paul Gilmartin [[email protected]]
Sent: Tuesday, January 18, 2022 11:37 AM
To: [email protected]
Subject: Re: TSO RECEIVE prompt for output temporary dataset

On Tue, 18 Jan 2022 13:59:13 +0000, Seymour J Metz wrote:

>In JCL, you can refer multiple times to the same temporary DSN;
>
Mostly true, but when I refer multiple times in the same job step
I haveee needed to specify VOL.

>    ... allowing &tempname in PARSE, DAIR and DYNALLOC would allow doing the 
> same thing dynamically. As it stands, you have to extract the DSN and volume 
> from the first allocation and use them in the remaining allocations.

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

Reply via email to