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