View previous topic :: View next topic |
Author |
Message |
issac1029 Intermediate

Joined: 10 Dec 2005 Posts: 159 Topics: 75
|
Posted: Wed Sep 27, 2006 7:47 am Post subject: access a vsam by path,RBA=0? |
|
|
Hi,
I encounter a problem that the base cluster&index and alternate index are all OK, but when I use 'tso verify' to deal with the path of the alternate index, It told me the RBA is 0.
Another clue is the base and the alternate entry are create at one day, the path is create another day different with them.
Access by path and access by alternate index,or access base directly,those 3 methods can get different RBA? |
|
Back to top |
|
 |
warp5 Intermediate

Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Thu Sep 28, 2006 1:05 am Post subject: |
|
|
Did you also run a buildidx ? |
|
Back to top |
|
 |
issac1029 Intermediate

Joined: 10 Dec 2005 Posts: 159 Topics: 75
|
Posted: Fri Sep 29, 2006 9:43 am Post subject: |
|
|
I soloved it with friend's help,
1)dsada exec pgm=zzz(a easytrieve PGM)
vsam dd dsn=base,
vsamp dd dsn=path
In program zzz , was asign to vsamp
This access method can using alternate index
2)dsada exec pgm=zzz(a COBOL PROGRAM)
vsam dd dsn=base
vsami dd dsn=path
In program zzz , was asign to vsam
This access method can also using alternate index
And my friend told me that easytrieve only can only use 1) to access. Is that true?
First I think there is only one way to access by alternate index. There comes second...... Are there any more ?
What difference between vsami and vsamp? |
|
Back to top |
|
 |
|
|