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: 10274
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: 10274
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
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


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