We have a code that uses a FLAT FILE as driver file and does a lookup on a VSAM file.The field used for lookup in the vsam file is defined as an AIX with duplicates.
When we move the field to VSAM we get multiple records returned.The requirement is to update all the records but it updates only 1 of them.
Cuurently the code looks like this:
READ FLAT-FILE NEXT RECORD(driver file)-->Build the Alt key from the flat file-->READ VSAM FILE-->10 records are returned-->UPDATE-->results in 1 record updation.
Now I want to do something like this:
READ FLAT FILE-->build Alt key-->START VSAM FILE KEY IS GREATER THAN ALT-KEY-->READ NEXT while the key is same
I assume this will solve my issue.Problem is tht the Alt key is a complete match.Can i stll say Greater than.
Kindly help me with this.