View previous topic :: View next topic |
Author |
Message |
dragone_007 Beginner
Joined: 18 Mar 2008 Posts: 24 Topics: 6
|
Posted: Wed Apr 29, 2009 9:30 am Post subject: How to Find VSAM KEY characteristics Position + Length ? |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed Apr 29, 2009 10:30 am Post subject: |
|
|
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 |
|
 |
dragone_007 Beginner
Joined: 18 Mar 2008 Posts: 24 Topics: 6
|
Posted: Wed Apr 29, 2009 11:51 am Post subject: |
|
|
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 |
|
 |
|
|