I have an RPGLE program which reads every record of a masterfile ( 4 million records) and updates some of the field values. There are different procedures to retrieve the values from various files and to update the masterfile.
The procedures are written with read, chain logic to retrieve the value. The program is taking long time to run and I have to improve the performance. Can anyone kindly provide me suggestions?
Thanks in advance