What happens to alternate index if VSAM is loaded with new data?

Virtual Storage Access method - ESDS, KSDS, RRDS & LDS. Basic direct access method, Basic sequential -, Queued sequential -, Basic partitioned -, Indexed sequential -, Object - access method.
Previous topicNext topic

Topic Author
Chandan Roy
Registered Member
Posts: 11
Joined: Tue Aug 20, 2013 11:30 am

What happens to alternate index if VSAM is loaded with new data?

Post by Chandan Roy » Sat Jul 16, 2016 3:03 pm

Hi,

I am replacing the data in a VSAM file with new data for testing. I shall be using IDCAMS REPRO and it will load the data in the VSAM file. This VSAM file has alternate index defined for it. for alternate index , do I need to do anything special in order it to reflect the new data? Or will it be done automatically once the VSAM is loaded with new data? Please advise.



User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1379
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: What happens to alternate index if VSAM is loaded with new data?

Post by Robert Sample » Sat Jul 16, 2016 3:23 pm

Is the alternate index in the upgrade set?  If so then the updates happen automatically  If not, then you have to delete and build the alternate index again.



Previous topicNext topic

Return to “SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.”