SORTED, it was and end-of-file condition that gave me headaches... solved with an 'OR' condition. PS: if anyone knows another cobol forum :))) more active... Keep the spaghetti going!
It's kinda sorted out now, but at some point, it kicks me out with an error: Failed to read (STATUS = 46) File : 'TRANSFER.DAT'. It makes the math ok, but it kicks me out before i write the files. Anyone that can help??? I can send the code, it is a short file with 150 lines.... Thank you!
TRANSFER FILE
JOHN DOE 1680.00
JOHN DOE -320.99
JOHN DOE 401.00
JOHN DOE -20.00
MASTERFILE
JOHN DOE 2100
The update must be sequentially made, I can't use ws-memory... Iț's sorted out in my mind, just have to write the code and test :). An advice would be nice...Thanks!
Hello guys,
I need to make a program to update a masterfile from transfer file by computing them. Problem is that the transfer file has multiple keys with same record that need to be computed to only one key in master file. I have done updates but only with same number of records in master and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.