However, some telnet emulators (accuterm maybe?) may have some way of
reading back what's displayed.
Simon
Hi
This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
Jim
> -----Original Message-----
> From: Cep [mailto:C.St...@cook-wce.com]
> Sent: Thursday, January 10, 2008 8:04 AM
> To: jBASE
> Subject: Is there a way to read the screen buffer?
>
>
Does anyone know why I would be getting the following error:
Warning: Unable to open error message file '/usr/jbc/jbcmessages' for
message 'SUBROUTINE_OVF'
It seems to be very intermittent and usually scrolls by with about 20 lines
of the same thing when it does happen.
TIA,
Brad Moll
However, what the error message would tell you is that your subroutine
call depth has exceeded the allowed maximum. As this is something like
512 (make 256 maybe 1024 - I no longer remember), then it is almost
certainly a bug in your software, unless you were deliberately trying to
use recursion in subroutines, which is OK up to a point.
Jim
Thanks for the help. I will search that option. The processes where I am
seeing this error should not be calling anything to a depth that should be a
problem, but I can review that. Is there any utility that will tell me the
subroutine depth at any point and time, either from within or outside of a
program?
-----Original Message-----
From: jB...@googlegroups.com [mailto:jB...@googlegroups.com] On Behalf Of
I think that one of the SYSTEM() calls will tell you the stack depth, but I no longer remember which one. Unless it is a user exit or something. I no longer remember, but have given this information on this list before so perhaps whoever is using it can remind us ;-)
Tom
-----Original Message-----
From: jB...@googlegroups.com [mailto:jB...@googlegroups.com] On Behalf Of
Danny Ruckel
Sent: Friday, October 07, 2005 8:08 AM
To: jB...@googlegroups.com
Subject: RE: Finding out what program called a subroutine
SYSTEM(1000) I believe shows the calling program.
You can see the entire call stack with the user exit OCONV('','U0016'),
e.g.,
PROGRAM.STACK=OCONV('','U0016')
Danny