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
 
Create a new VSAM dataset with the same char of an existing

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
induajayrose
Warnings : 2

New User


Joined: 25 Jul 2005
Posts: 28
Location: Thrissur

PostPosted: Mon Nov 20, 2006 3:44 pm    Post subject: Create a new VSAM dataset with the same char of an existing
Reply with quote

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
View user's profile Send private message

guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Mon Nov 20, 2006 4:34 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions 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 opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm

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