RE: [U2] Runtime Stack Overflow [uv]

2007-04-04 Thread Norman, David (SAAS)
Thanks to Brian, Sara, Mark, Charles and Baker for your responses. I hope Brian and Charles have hit the nail on the head. I did manage to create an infinitely recursive subroutine call, exactly as Charles said, by reusing code from a different program with slightly different structure (GOTO

RE: [U2] Runtime Stack Overflow [uv]

2007-04-03 Thread brian
Hi I've only seen this with a recursive subroutine that was a bit too - um - recursive (and never found its way back). Check for some logic path that would cause it - or part of it -to run itself. Use PORT.STATUS to keep track of where it is - see the LAYER.STACK option - or have it write

RE: [U2] Runtime Stack Overflow [uv]

2007-04-03 Thread Hennessey, Mark F.
snip My VAR advises that this error is associated with too many files, or nested Executes. /snip Would using PERFORM be better? EXECUTE creates a new environment while PERFORM commands are executed in the same environment as the Basic program. --- u2-users mailing list

RE: [U2] Runtime Stack Overflow [uv]

2007-04-03 Thread Stevenson, Charles
And look for GOTO where RETURN should have been used to exit a gosub, thus goofing up the return stack, which grows and grows and grows. Brian's SYSTEM(9001) PORT.STATUS LAYER.STACK are good debug suggestions. I haven't seen this error associated with too many files being open, but PORT.STATUS