MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

KSDS / ESDS / RRDS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
Fin
Beginner


Joined: 19 Jan 2004
Posts: 27
Topics: 8

PostPosted: Wed Dec 01, 2004 10:30 am    Post subject: KSDS / ESDS / RRDS Reply with quote

Is there any way of telling what VSAM dataset organization type without looking at the JCL that created it? - KSDS/ ESDS etc?
(sorry for asking a basic question, i am trying to get the fundamentals right)
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Wed Dec 01, 2004 10:32 am    Post subject: Reply with quote

Fin,

Fileaid can give you this information. Option 3.5 (VSAM). Is this what you are looking at ?

Thanks,
Phantom
Back to top
View user's profile Send private message
Fin
Beginner


Joined: 19 Jan 2004
Posts: 27
Topics: 8

PostPosted: Wed Dec 01, 2004 10:36 am    Post subject: Reply with quote

Thats great info - thanks Phantom!
I am just trying to get myself up to speed with VSAM stuff.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Dec 01, 2004 11:23 am    Post subject: Reply with quote

Fin,

Listcat also gives you the information. I would prefer a listcat command over fileaid because not every shop has fileaid.

Code:

//STEP0100 EXEC PGM=IDCAMS                           
//SYSPRINT DD SYSOUT=*                               
//SYSIN    DD *                                     
   LISTCAT ENT('VSAM CLUSTER') ALL
/*                                                   


Now under the properties you can see indexed, numbered, nonindexed, linear which will be translated as follows.

Code:

INDEXED     = KSDS
NUMBERED    = RRDS
NONINDEXED  = ESDS
LINEAR      = LDS


Listcat can also be run as a TSO command

Code:

 TSO LISTCAT ENT('VSAM CLUSTER') ALL


Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Fin
Beginner


Joined: 19 Jan 2004
Posts: 27
Topics: 8

PostPosted: Thu Dec 02, 2004 7:11 am    Post subject: Reply with quote

Thats very helpful, thank you.
Is LISTCAT exclusively a VSAM tool? Are there any other times when you would use it?
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Thu Dec 02, 2004 7:35 am    Post subject: Reply with quote

Fin,

Code:

Is LISTCAT exclusively a VSAM tool?


Not Exclusively though. I works for non-vsam datasets too. But I can say its designed specially for VSAM. For non-vsam datasets it does not give you all the attributes that it would give for a vsam.

for example, LRECL, BLKSIZE.....will not be shown for non-vsam.

Code:

Are there any other times when you would use it?


I could think of GDGs. It can be used to find the versions of a GDG. For example you need (-n) version of a GDG, it will return u the full version number.

I also is used to find whether a dataset is catalogued or not. Suppose u have a REXX routine dealing with datasets and if u just want to check for the presence of a dataset ppl normally use SYSDSN. But that would recall any migrated datasets & recall all migrated versions if u r trying to look for the existence of a GDG base.

In these case LISTCAT can check the presence of a dataset without recalling them.

Hope this help,

Thanks,
Phantom
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group