Don't free SORTOUT - that will delete the temporary dataset. Use bpxwdyn to 
redefine the ddname to what you need,


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

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Weizman arbel [wwar...@gmail.com]
Sent: Thursday, September 2, 2021 11:04 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: is it possible to allocate two dd to same temp file ?

i am want it from rexx foreground
"ALLOC F(SORTOUT) REUSE NEW RECFM(F B)",
" SPACE(2,2) CYL RELEASE DSO(PS) BLKSIZE(0)"

i am want to relese (free) sortout and
browse/use the temp file by 2nd dd

like
"ALLOC F(SORTOUT   dd2nd) REUSE NEW RECFM(F B)",
...

"FREE F(SORTOUT)"

browse the file by dd2nd

In the situation now I'm copying the SORTOUT to dd2nd
And it takes time for big file

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

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