Hi,
Another quick question, I tried to delete just the alternate index which will be entended and rebuilt the alternate index. Just wondering if this will be ok. or do i have to delete the whole cluster? and rebuild all the indexes?
thanks.
What does this mean? Are you asking about the definition or the content? If you define/build an alternate index, it will contain data from all of the current entries in the file. I'm not sure where "difference" comes into this. . .Can the alternate index be identical?
archiegaw wrote:thanks.
Sorry for the confusion. what i meant was the data does not match .
what i did was for example.
Day1 I copied the production VSAM file, and I built an alternate index for it.
day5, I made another copy of the production VSAM file and built an altername index for it.
When i compared the data in the alternate index , there were differences, is this to be expected since on day 5 the production vsam file already has updates ?
for the definition of the alternate index they are exactly the same.
Of course this is to be expected -- any updates to the base cluster on days 1, 2, 3, 4 or 5 until you rebuilt the alternate index would not be reflected in the day 1 version but would show up in the day 5 version. Why would you think anything else?Day1 I copied the production VSAM file, and I built an alternate index for it.
day5, I made another copy of the production VSAM file and built an altername index for it.
When i compared the data in the alternate index , there were differences, is this to be expected since on day 5 the production vsam file already has updates ?