Noob DOU %EOF help danielharner

​[[{“value”:”(Code link below)
Within this loop, I’m reading the same file twice, once at the beginning (MMCCOD01) of the loop and once during the loop (MMCCOD). Is this causing my loop to prematurely end/reset? How can I get around this?
I thought changing the logical file I’m reading would be the fix but apparently not (MMCCOD and MMCCOD01).
The original chain is CODKEY and then within the loop I am chaining using CODEKEY to see if it exists in the codes file. I’m expecting after the first loop, EOF will not hit yet and it’ll move on to the next FPWSSZ because I set CODRCD back to it’s original data.
Any suggestions are greatly appreciated
submitted by /u/danielharner[link][comments]”}]] Read More 

Verified by MonsterInsights