WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: stevengraff on February 09, 2014, 07:59:38 AM

Title: 3619 Nesting too complex
Post by: stevengraff on February 09, 2014, 07:59:38 AM
I'm getting a "3619 Unable to call Error Handler: Nesting of structures is too complex" error.

My program checks to see if any new records have been added to a mySQL database every 10 seconds. It seems to throw this error after about 22 hours of operation. I don't suppose there any known nests that get riled after about 7920 iterations?

Any suggestions on troubleshooting this? Am I looking for poorly formed if/endif's or while/endwhile's? gosubs? all or any of the above?
Title: Re: 3619 Nesting too complex
Post by: stevengraff on February 09, 2014, 08:25:15 AM
After hunting around a little I found and (re-)read this article:

http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/tsleft.web+WinBatch/FAQs~-~Frequently~Asked~Questions+Nesting~of~Structures~Too~Complex~or~Deep~.txt

I scoured my code and found a couple of goto's, good likelihood the problem. I'll report back in 22 hours or so. :)