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=...               
//SYSIN    DD *                                               
 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

Reply via email to