Re: Copying HFS file in Bacth
If you use the provided JCL, keep in mind that while that copy lasts, the OMVS ROOT is effectively blocked (I've got the scars from that). If you want to avoid that, use the magic keyword CONCURRENT. Regards, Barbara Nitz -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser -- 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
Re: Copying HFS file in Bacth
-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
Re: Copying HFS file in Bacth
I want to copy OMVS.ROOT to TARGSYS.OMVS.ROOT in batch. Omvs.root is my production and Targsys.omvs.root is my new system I'm build. JL At 03:41 PM 3/7/2008, you wrote: Can anyone tell me how to copy the OMVS.ROOT from a batch job? JL Jason Lowe - Mainframe Systems - Cornell Information Technologies [EMAIL PROTECTED] (607) 255-7851 The Supreme Court has surrendered. It has destroyed the Civil Rights Bill, and converted the Republican party into a party of money rather than a party of morals. Frederick Douglass, 1894 -- 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 Jason Lowe - Mainframe Systems - Cornell Information Technologies [EMAIL PROTECTED] (607) 255-7851 The Supreme Court has surrendered. It has destroyed the Civil Rights Bill, and converted the Republican party into a party of money rather than a party of morals. Frederick Douglass, 1894 -- 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
Re: Copying HFS file in Bacth
A sample JCL (DSS control statements may need to be reviewed): //RSTJAVA EXEC PGM=ADRDSSU,REGION=0M,PARM='TYPRUN=NORUN' //SYSPRINT DD SYSOUT=* //SYSABEND DD SYSOUT=* //OUT DD DISP=SHR,UNIT=3390,VOL=SER=... //SYSINDD * COPY DATASET(INCLUDE(hlq1.JAVA2V5.SR5A)) - OUTDD(OUT) - NULLSTORCLAS - BYPASSACS(hlq2.JAVA2V5.SR5A) - TGTA(SRC) ALLDATA(*) ALLEXCP - RENAMEU(hlq1.JAVA2V5.SR5A,hlq2.JAVA2V5.SR5A) - CATALOG /* -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of jason lowe Sent: March 7, 2008 4:06 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Copying HFS file in Bacth I want to copy OMVS.ROOT to TARGSYS.OMVS.ROOT in batch. Omvs.root is my production and Targsys.omvs.root is my new system I'm build. JL At 03:41 PM 3/7/2008, you wrote: Can anyone tell me how to copy the OMVS.ROOT from a batch job? JL Jason Lowe - Mainframe Systems - Cornell Information Technologies [EMAIL PROTECTED] (607) 255-7851 The Supreme Court has surrendered. It has destroyed the Civil Rights Bill, and converted the Republican party into a party of money rather than a party of morals. Frederick Douglass, 1894 -- 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 Jason Lowe - Mainframe Systems - Cornell Information Technologies [EMAIL PROTECTED] (607) 255-7851 The Supreme Court has surrendered. It has destroyed the Civil Rights Bill, and converted the Republican party into a party of money rather than a party of morals. Frederick Douglass, 1894 -- 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 -- 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