IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to see the VSAM file declaration part


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dp33770

New User


Joined: 04 Jul 2007
Posts: 91
Location: Hyderabad

PostPosted: Thu Dec 18, 2008 12:48 pm
Reply with quote

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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Dec 18, 2008 12:49 pm
Reply with quote

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

New User


Joined: 04 Jul 2007
Posts: 91
Location: Hyderabad

PostPosted: Thu Dec 18, 2008 12:57 pm
Reply with quote

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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Dec 18, 2008 1:03 pm
Reply with quote

LISTCAT ENTRIES(Your_cluster_name) ALL
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Dec 18, 2008 1:03 pm
Reply with quote

Use IDCAMS EXPORT / IMPORT - it copies the definitions with it.
LISTCAT to read the attributes.
Back to top
View user's profile Send private message
PRABHATH
Warnings : 1

New User


Joined: 08 Jun 2006
Posts: 28
Location: hyderabad

PostPosted: Thu Dec 18, 2008 5:10 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top