IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

JCL to copy a VSAM to a new TEST VSAM file


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Wed May 27, 2009 4:43 pm
Reply with quote

Hi All,

Requirement:

Input:
a) Production VSAM File (KSDS)

Output
a) Test VSAM file (with same atributes of above)
b) Copy the contents Production VSAM file to Test VSAM file

I don't want to define the CLUSTER syntax here. I want to create a TEST VSAM with the same attributes of Production VSAM.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed May 27, 2009 4:47 pm
Reply with quote

EXPORT / IMPORT
Back to top
View user's profile Send private message
mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Wed May 27, 2009 4:49 pm
Reply with quote

Expat,

Can you please give me the example. I'm unable to get it.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed May 27, 2009 4:51 pm
Reply with quote

all depends on the naming conventions

but DFDSS with the RENAMEU is worth a try
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed May 27, 2009 4:55 pm
Reply with quote

mkk157 wrote:
Expat,
Can you please give me the example. I'm unable to get it.

Click HERE to RTFM
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top