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 know the structure of vsam file.

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

New User


Joined: 08 Jan 2007
Posts: 54
Location: pune

PostPosted: Wed Feb 28, 2007 11:47 am    Post subject: How to know the structure of vsam file.
Reply with quote

Hi this is my vsam file PWDMM.MSLJW.DEVIDAS
How to see the structure file without using FILE-AID.
Back to top
View user's profile Send private message

Help-Me-Out

New User


Joined: 09 Dec 2006
Posts: 56
Location: Pune

PostPosted: Wed Feb 28, 2007 6:50 pm    Post subject:
Reply with quote

Hi,

there is no facility to see the structure of the VSAM. If you want to see then generate the PS file of the VSAM. You can see the total space used by the VSAM.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Wed Feb 28, 2007 9:25 pm    Post subject:
Reply with quote

IDCAMS has a print function and a listcat function....
Back to top
View user's profile Send private message
devidas-patil

New User


Joined: 08 Jan 2007
Posts: 54
Location: pune

PostPosted: Fri Mar 02, 2007 2:28 pm    Post subject:
Reply with quote

Hi help me out,
definatly there is one coomand that we can type with the name of VSAM file then we can see the structure of the Vsam file.
but for the moment i not remebring ..
please help if anybody knows it.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Fri Mar 02, 2007 2:47 pm    Post subject:
Reply with quote

What do you mean by "structure"?

O.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Fri Mar 02, 2007 4:39 pm    Post subject: VSAM
Reply with quote

Ofer71,

I think devidas is meaning about the key length, AIX etc, details ...the suggestion of thomson should work with IDCAMS utility ....
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1228
Location: Israel

PostPosted: Fri Mar 02, 2007 7:23 pm    Post subject:
Reply with quote

So that would lead us to:
LISTCAT ENTRIES(your.vsam.file) ALL
Which can also be executed as a TSO command, if I remember well.
Back to top
View user's profile Send private message
devidas-patil

New User


Joined: 08 Jan 2007
Posts: 54
Location: pune

PostPosted: Wed Mar 07, 2007 9:59 am    Post subject:
Reply with quote

hi guys
i found how to see the structure
like ddname dsn=PWDMM.MSLJW.DEVIDAS
so i will kepp my cursor on vsam file and type B on command promt then we can see the data as well as strucutre. tyr this.
thanks lot for your replies.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Mar 08, 2007 12:09 am    Post subject:
Reply with quote

Cool. Can I transfer this command into my shop? icon_biggrin.gif

O.
Back to top
View user's profile Send private message
devidas-patil

New User


Joined: 08 Jan 2007
Posts: 54
Location: pune

PostPosted: Thu Mar 08, 2007 10:37 am    Post subject:
Reply with quote

ya sure
i dont know much about this but it working in my company.
i told my senior people.
thanks
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 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
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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