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 

How to Find VSAM KEY characteristics Position + Length ?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
dragone_007
Beginner


Joined: 18 Mar 2008
Posts: 24
Topics: 6

PostPosted: Wed Apr 29, 2009 9:30 am    Post subject: How to Find VSAM KEY characteristics Position + Length ? Reply with quote

Hello to everyone,

Can anyone tell me how can I find the position and the length of a VSAM file ? I tryed IDCAMS command LISTCAT ENTRIES(TASV.CRAD0000.CRADSCAR) but gives me only the information that I already know that this VSAM has 1 index. Thanks a lot

Regards
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 Apr 29, 2009 10:30 am    Post subject: Reply with quote

dragone_007,

You are missing the ALL parameter which would list all the attributes of the VSAM data set. KEYLEN,RKP , AVGLRECL and MAXLRECL are the fields you need to look for

Code:

//STEP0010 EXEC PGM=IDCAMS                   
//SYSPRINT DD SYSOUT=*                       
//SYSIN    DD *                             
  LISTCAT ENT('TASV.CRAD0000.CRADSCAR') ALL
//*   


Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dragone_007
Beginner


Joined: 18 Mar 2008
Posts: 24
Topics: 6

PostPosted: Wed Apr 29, 2009 11:51 am    Post subject: Reply with quote

Thanks a lot kolusu for your prompt reply. I managed out by the way creating via IDCAMS a VSAM with same characteristics giving the parameter MODEL which bypassed the position and length of the KEY unknown by me.

Best regards
Denis
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 -> Job Control Language(JCL) 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