Hi, I have a issue for compiling a pgm as 'optimization level *full'. the pgm logic as below: keylist1 chain logical file1 dow ...... write out file2 ...... reade file1 endo when the keylist1 is patical keylist in the logical file1. when the rpg pgm is compiled as 'optimization level *NONE', there is no duplicate record in output file2; but compile as 'optimization level *full', I found duplicate record in the output file2. When I change the logical file key list to match with keylist1 defined in pgm. Then the runing result is fine. Would you please help to advise there is any issue when compile the pgm as 'optimization level *full'? Many thanks!!
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!