• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

Infinite loop in report interconnect


Well Known Member
I have a UBE and it calls itself Synchronous. In the report interconnect data structure, I have a variable called cCallSelf_EV01 and when it calls itself, I set it to N. In the After Last Object Printed of the main driver section, I put in the code saying if this RI variable cCallSelf_EV01 is not equal to "N" then call itself.

So the first time it runs, the cCallSelf_EV01 should be null so it will call itself. But it should stop the 2nd time since I set this variable to "N"

I tried using Processing Option but still the same result. It's stuck in an infinite loop and it keeps calling itself.

Do you know why?

Last edited: