> Would it be proper first to do BPXWDYN( INFO SYSPRINT ... ) > and finally restore it to its initial state in case it hadn't been DSN(*)?
Yes, but if you use the SYSOUT keyword then you don't need to reallocate SYSPRINT in the first place. > Is it necessary to CLOSE a file before REUSing it? I'm pretty sure that it is necessary. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin [0000000433f07816-dmarc-requ...@listserv.ua.edu] Sent: Wednesday, January 20, 2021 11:03 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: TSO XMIT and no member list On Wed, 20 Jan 2021 05:43:20 -0500, David Spiegel wrote: > >ALLOC F(SYSPRINT) DA(DUMMY) REU >XMIT ... >ALLOC F(SYSPRINT) DA(*) REU > Would it be proper first to do BPXWDYN( INFO SYSPRINT ... ) and finally restore it to its initial state in case it hadn't been DSN(*)? (DISP(MOD) if it had been a data set.) Is it necessary to CLOSE a file before REUSing it? It's a shame there's no way to provide an alternate DDNAME list (a poor substitute for redirection) to that IEBCOPY. Does DSN(*) write via TPUT? PUTLINE? Other (specify)? Does OUTTRAP work with DSN(*)? -- gil ---------------------------------------------------------------------- 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