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!!
April 12, 2010 2:27 PM
April 16, 2010 6:56 AM