View previous topic :: View next topic
|
Author |
Message |
dp33770
New User
Joined: 04 Jul 2007 Posts: 91 Location: Hyderabad
|
|
|
|
Hi,
I have a VSAM file.
I need a basic and small help
1.Can anyone help me how to see the VSAM file declaration part.
2.I want to copy the VSAM file into another VSAM file. ( For this how can I create another VSAM file as same defination given in the Original VSAM)
Thanks |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
by scratch use IDCMS LISTCAT
in a guided way, if ISPF has been properly setup
go to option 3.4 and in front of the cluster put an I, and follow the instructions |
|
Back to top |
|
|
dp33770
New User
Joined: 04 Jul 2007 Posts: 91 Location: Hyderabad
|
|
|
|
In ISPF i cant able to see with I option . I hope its not set up.
Can you tell me how shall I copy the VSAM to another VSAM with same proerties.
I code or ref. will help me a lot |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
LISTCAT ENTRIES(Your_cluster_name) ALL |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Use IDCAMS EXPORT / IMPORT - it copies the definitions with it.
LISTCAT to read the attributes. |
|
Back to top |
|
|
PRABHATH Warnings : 1 New User
Joined: 08 Jun 2006 Posts: 28 Location: hyderabad
|
|
|
|
Try LISTC ENT(/) ALL besides the name of the dataset..this should give you the attributes of the VSAM file and for copying...you can use REPRO which copies the data else EXPORT/IMPORT as said above by expat to copy the definitions aswell. |
|
Back to top |
|
|
|