Darth

That worked. Thanks.


Thanks & Best Regards.
Umamaheshwar Iyer 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Darth Keller
Sent: Monday, October 12, 2009 7:17 PM
To: [email protected]
Subject: Re: copy VSAM files

>>Sorry I didn't read the entire question REPRO will not do it.

Yes, in combination with JCL, IDCAMS REPRO can do it:

//JS0040   EXEC PGM=IDCAMS 
//SYSPRINT DD SYSOUT=* 
//IN1      DD  DISP=(SHR,KEEP,KEEP), 
//         DSN=SMS.SCDS01.SCDS 
//OUT1     DD  DSN=DK85359.SCDS01.SCDS, 
//         DISP=(NEW,CATLG,DELETE), 
//         LIKE=SMS.SCDS01.SCDS 
//* 
//SYSIN    DD * 
 REPRO INFILE(IN1) OUTFILE(OUT1) 
************************************************************************
**************
This e-mail message and all attachments transmitted with it may contain
legally privileged and/or confidential information intended solely for
the use of the addressee(s). If the reader of this message is not the
intended recipient, you are hereby notified that any reading,
dissemination, distribution, copying, forwarding or other use of this
message or its attachments is strictly prohibited. If you have received
this message in error, please notify the sender immediately and delete
this message and all copies and backups thereof.

Thank you.
************************************************************************
**************

----------------------------------------------------------------------
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

============================================================================================================================


Disclaimer:

This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at <a 
href="http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html</a>
 externally and <a 
href="http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html</a>
 internally within Tech Mahindra.

============================================================================================================================

----------------------------------------------------------------------
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