> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of jason lowe > Sent: Friday, March 07, 2008 2:41 PM > To: IBM-MAIN@BAMA.UA.EDU > Subject: Copying HFS file in Bacth > > > Can anyone tell me how to copy the OMVS.ROOT from a batch job? > > JL > > Jason Lowe - Mainframe Systems - Cornell Information Technologies
A bit more information please. If you want to just "copy" the container file, then use DFDSS or FDR to copy it just like any other file. If you want to copy the contents to another subdirectory, then I'd use pax: pax -v -pe -x -rw / /new/sub/directory You can run the "pax" command via OSHELL or BPXBATCH. //STEP010 EXEC PGM=IKJEFT01, // REGION=4096K, // DYNAMNBR=40 //SYSEXEC DD DISP=SHR,DSN=SYS1.SBPXEXEC //SYSTSPRT DD SYSOUT=* //SYSTSIN DD * OSHELL pax -v -pe -x -rw / /new/sub/directory /* // -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html