Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Copy VSAM to VSAM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
bharath18

New User


Joined: 12 Sep 2006
Posts: 15
Location: Chennai, Tamilnadu, India

PostPosted: Thu Mar 13, 2008 11:21 am    Post subject: Copy VSAM to VSAM
Reply with quote

There is an existing VSAM file, i need to copy it to other test VSAM.

Any help ?
Back to top
View user's profile Send private message

raak

Active User


Joined: 23 May 2006
Posts: 166
Location: chennai

PostPosted: Thu Mar 13, 2008 11:37 am    Post subject:
Reply with quote

I was just thinking whether REPRO can help u....... icon_biggrin.gif
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 276
Location: Bang,iflex

PostPosted: Thu Mar 13, 2008 12:14 pm    Post subject:
Reply with quote

Hi.....

Yes you can REPRO command of IDCAMS.

Code:
//SYSIN DD *
       REPRO-
       INDATASET    = OLD.VSAM.DATASET-
       OUTDATASET  = NEW.VSAM.DATAST
/*
Back to top
View user's profile Send private message
chhabraravneet

New User


Joined: 04 Oct 2007
Posts: 49
Location: Mumbai

PostPosted: Thu Mar 13, 2008 4:14 pm    Post subject: Reply to: Copy VSAM to VSAM
Reply with quote

Through File_aid option in the mainframe(FA -> 1 -> 3.3 ) you can directly copy one VSAM cluster in another.

Or if its not possible ......

You can use the JCL with REPRO command.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Thu Mar 13, 2008 4:17 pm    Post subject:
Reply with quote

Ravneet,

Quote:
Through File_aid option in the mainframe(FA -> 1 -> 3.3 )

Remember the FA sequence you mentioned differ from shop to shop depending on customization.
Back to top
View user's profile Send private message
bakshi_man

New User


Joined: 06 Jun 2007
Posts: 3
Location: mumbai

PostPosted: Tue May 20, 2008 3:03 pm    Post subject: Re: Reply to: Copy VSAM to VSAM
Reply with quote

chhabraravneet wrote:
Through File_aid option in the mainframe(FA -> 1 -> 3.3 ) you can directly copy one VSAM cluster in another.

Or if its not possible ......

You can use the JCL with REPRO command.




HI THERE

I'VE TRIED FILE-AID OPTION 3.3, THIS WORKS WELL AT MY SHOP.

Regards
bakshi
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue May 20, 2008 3:29 pm    Post subject:
Reply with quote

Or IDCAMS EXPORT / IMPORT

That way there is no need to define the cluster first.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us