View previous topic :: View next topic |
Author |
Message |
yadav2005 Intermediate

Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Thu Feb 28, 2008 6:52 am Post subject: XMIT VSAM from PROD Region to Test Region |
|
|
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 |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Thu Feb 28, 2008 9:42 am Post subject: |
|
|
You don't have Connect:Direct in your shop to handle such routine tasks? |
|
Back to top |
|
 |
yadav2005 Intermediate

Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Thu Feb 28, 2008 10:04 am Post subject: |
|
|
No we do not have any Connect:Direct in your shop to handle such routine tasks. |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Fri Feb 29, 2008 6:29 am Post subject: |
|
|
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 |
|
 |
expat Intermediate

Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
|
Posted: Sun Mar 02, 2008 3:33 am Post subject: |
|
|
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 |
|
 |
|
|