MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

XMIT VSAM from PROD Region to Test Region

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Thu Feb 28, 2008 6:52 am    Post subject: XMIT VSAM from PROD Region to Test Region Reply with quote

I have a VSAM dataset in Prod Region and i want to XMIT it to Test Region and i am thinking of the following steps:

1.Run a Sort / REPRO / IEBGENER step to copy the PROD VSAM dataset to a PS datset in the PROD Region.
2.Xmit the PS dataset from PROD Region to Test Region
3.Create a VSAM in the Test Region exactly with the same properties as in Prod Region - but do not know how to create a VSAM with the same attributes of another dataset and that too in a different region.
4.Run a Sort / REPRO / IEBGENER step to copy the PS dataset to the newly created VSAM dataset in the Test Region.

My understanding is that we cannot XMIT a VSAM and GDG generation dataset from one region to another.
Can anybody help me if i am correct in my approach and please help me how to create a Model of a Vsam dataset.
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Thu Feb 28, 2008 9:42 am    Post subject: Reply with quote

You don't have Connect:Direct in your shop to handle such routine tasks?
Back to top
View user's profile Send private message
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Thu Feb 28, 2008 10:04 am    Post subject: Reply with quote

No we do not have any Connect:Direct in your shop to handle such routine tasks.
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Fri Feb 29, 2008 6:29 am    Post subject: Reply with quote

1 & 4 - Use REPRO - that is what it was written for - unloading and loading VSAM datasets. Create a non-gdg if XMIT won't handle a GDG - I think it does but you probably have to fully specify the dataset name including the generation number.

3 - find the 'cards' that originally defined the production VSAM file - there must be some even if only for Disaster Recovery unless it is allocated via IEFBR14. But if there is a production file there should be a test version already - how else were the programs using it tested?
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Sun Mar 02, 2008 3:33 am    Post subject: Reply with quote

Use EXPORT / IMPORT if you do not have the IDCAMS statements for the original file.

EXPORT / IMPORT takes all the file attributes with it so you can reload without defining the cluster first.

How about FTP from prod to dev.
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group