Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to see the VSAM file declaration part

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
dp33770

New User


Joined: 04 Jul 2007
Posts: 92
Location: Hyderabad

PostPosted: Thu Dec 18, 2008 12:48 pm    Post subject: How to see the VSAM file declaration part
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Dec 18, 2008 12:49 pm    Post subject: Reply to: VSAM COPY
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: 92
Location: Hyderabad

PostPosted: Thu Dec 18, 2008 12:57 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Dec 18, 2008 1:03 pm    Post subject: Reply to: VSAM COPY
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: 8593
Location: Back in jolly old England

PostPosted: Thu Dec 18, 2008 1:03 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts RMM: scratching a volume that RMM thi... Hervey Martinez IBM Tools 0 Mon May 15, 2017 8:51 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us