View previous topic :: View next topic
|
Author |
Message |
induajayrose Warnings : 2 New User
Joined: 25 Jul 2005 Posts: 28 Location: Thrissur
|
|
|
|
Hi,
I have a VSAM dataset ,but I dnt know its fields and also I cn't check the details.Is it possible to create a new VSAM dataset with the same characterestics of the old one... |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi There,
Yes it is possible
Code: |
//IDCMA07 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFINE CLUSTER( -
NAME('BTSDB.DBSN03.DSN03.BTSV07') -
MODEL('IMS7DB.CLAIMS.MIGR.DBSN03.DSN03'))
DATA ( -
NAME('BTSDB.DBSN03.DSN03.BTSV07.DATA'))
/* |
Here we are creating 'BTSDB.DBSN03.DSN03.BTSV07' new VSAM by takin
'IMS7DB.CLAIMS.MIGR.DBSN03.DSN03' as a model |
|
Back to top |
|
|
|