Thanks Kirk. My preference is to make this work with the tools I'm already licensed for, but I'll keep this option in mind. Bart
-----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Kirk Wolf Sent: Friday, January 17, 2014 10:47 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: pax, ddnames and _BPX_SHAREAS Bart, It isn't clear whether you needed to do this with a TMP and REXX or whether you were just trying to work around the normal issues with BPXBATCH. This is very straight forward to do using our COZBATCH utility: //SHELL EXEC PGM=COZBATCH <<- a better BPXBATCH //STDIN DD * pax -w -X -x pax -v -f //DD:PAX myDir //PAX DD DSN=&&PAX,DISP=(NEW,PASS),SPACE=(CYL,(10,10)) // Kirk Wolf Dovetailed Technologies http://dovetail.com PS> The Co:Z Toolkit is free to download and use under our free Community License. Enterprise license and support agreements are also available. http://dovetail.com/products/cozbatch.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN