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

VSAM file attributes


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

New User


Joined: 21 Jun 2005
Posts: 75

PostPosted: Thu Aug 14, 2008 5:46 pm
Reply with quote

Hi Friends,

I have a vsam file and i want to know its attributes like how it was defined? I tried using listc but could not get much information.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Aug 14, 2008 5:51 pm
Reply with quote

IDCAMS LISTCAT will tell you everything about the file.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Aug 14, 2008 5:55 pm
Reply with quote

But LISTC is LISTCAT - which will tell you everything that you want to know.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Aug 14, 2008 6:03 pm
Reply with quote

It tells you what you want to know only if you know to do LISTC ENT(/) ALL intead of just LISTC. Expat, wanna bet Srinivasa just put in LISTC or maybe LISTC ENT(/) without the 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 Aug 14, 2008 6:08 pm
Reply with quote

Sounds a fair bet to me. Fell foul of that one myself a couple of times too icon_redface.gif

Of course one other alternative would be amending the SYS1.SAMPLIB code of IGGCSIRX to get the info. I did it once to be able to clone all of the production VSAM delete/defines for development including AIX & path definitions. I might still have a copy somewhere. Mind you - it took me over a week to get that little bunny up and running.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Aug 14, 2008 6:10 pm
Reply with quote

Quote:
t took me over a week to get that little bunny up and running.
Bunnicula lives?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Aug 14, 2008 6:33 pm
Reply with quote

Wouldn't using ISPF Option 3.2 be a more typical method to obtain the same details?
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Thu Aug 14, 2008 6:38 pm
Reply with quote

You can get VSAM details using ISPF 3.2 but it's a little cumbersome. The nice thing is you're browsing the output listing so you can page backwards!
Back to top
View user's profile Send private message
Srinivasa Rao

New User


Joined: 21 Jun 2005
Posts: 75

PostPosted: Thu Aug 14, 2008 7:15 pm
Reply with quote

Guys,

Thanks for your inputs.

I was issuing wrong spelling when I raised this help request. I got the problem resolved.
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 FTP VB File from Mainframe retaining ... JCL & VSAM 1
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
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top