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: 1232
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
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