I know spelling of Easytrive, and thats only thing I know about it. But I have a requirement that somebody told me can be easily solved by it. I can do the same using cobol, but I dont have that much time. So any fast help will be appreciated.
My requirement is to correct data in a VSAM KSDS file. Its key is:
05 XXX_Account Number PIC 9(19) Comp-3.
05 XXX_Date PIC 9(8) Comp-3.
05 XXX_Time PIC 9(7) Comp-3.
The file contains tens of thousands of records, and quite a few of them have incorrect time value.
So the logic should be:
Read record from input file sequentially,
if time is correct, write same record in output file of same format.
if time is incorrect, correct time and write the record in output.
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
You might also want to post this in the VSAM & DFSORT forum. Could be that Frank may have a DFSORT solution. DFSORT is a powerful tool and I'm impressed with how many problems Frank can come up with a DFSORT solution to.
If you post this in the VSAM & DFSORT forum, give a little more information on what the time should be, and what how to distinguish an incorrect time.