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 System(9001) away at intervals, though that will only show the 
BASIC stack not any nested executes.

Brian


UV 10.0.16 (Information) HP-UX 11.
I am developing a new phantom that will run 24x7 until told to stop. I
have many phantoms running this way.
The new phantom won't run for more than about 12 hours no matter what
time started, when it aborts with a Runtime Stack Overflow, pointing to
a quite innocuous line. My VAR advises that this error is associated
with too many files, or nested Executes. I can't see what's wrong in my
program - it does have Executes for selects etc but I can't see any
problems.
Anyone have any ideas what I should be looking for ? How accurate is the
line number in the error message ?

Thanks all,


David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
* fax +61 8 8271 4844
* [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Runtime Stack Overflow [uv]

2007-04-03 Thread Sara Burns
I have seen this where a program repeatedly called a subroutine which
opened the same file.  Eventually the process grew too big and was
unable to open one of the main files.  The error message seemed wrong as
the file had been opened in the last pass.

This may give you some areas to check.

Sara Burns

Sara Burns (SEB)


IS Development Manager

Public Trust
Phone: +64 (04) 978 4534 (DDI)

Mobile: 029 978 4534
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 


The information contained in this communication (including any
attachment) is confidential. If you are not the intended recipient,
please destroy this communication. You must not disclose, copy or use in
any way the information contained in this communication. Any views
expressed in this communication are not necessarily the views of Public
Trust. No representation is made that this communication is free of
error, virus or interference.

.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


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
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


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 also has a FILEMAP  MFILE.HIST options. 

Note to those unfamiliar with PORT.STATUS: All 3 of these options
only(?) work when you limit the report via the PID keyword.  And you
might need to run it in the uv account or copy keywords into your
working account for PORT.STATUS to work in all its glory.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Memory used in a BASIC program

2007-04-03 Thread Paul McVicker
I am dealing with a program processing about 60 million records.  I am trying
to load some of my reference files into dynamic arrays to improve the
processing speed by eliminating physical I/O reads.  I am concerned about the
amount of memory I am using and was trying to get a handle on the actual
memory usage. Paul McVickerVP Information ServicesHIDIpmcvicker at
mail.mhanet.com   Date: Mon, 2 Apr 2007 23:08:48 0400From: MAJ Programming
[EMAIL PROTECTED]Subject: Re: [U2] Memory used in a BASIC program
Not for nothing but what would this tidbit of information be used for. I have
not been concerned about memory for the last 20 years.Overall memoryfor
processes etc butnot for a basic program. CuriousMark Johnson  Original
Message From: Paul McVicker [EMAIL PROTECTED]To:
[EMAIL PROTECTED]Sent: Monday, April 02, 2007 4:35 PMSubject: [U2]
Memory used in a BASIC program SNIP  Is there a SYSTEM() function in
Universe that will give the amount ofmemory consumed by the basic
program?SNIP
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Memory used in a BASIC program

2007-04-03 Thread Paul McVicker
The program was not intended to be cataloged but I did the catalog to use your
method.  I was able to get the size of the compiled program.  Thanks for the
info. Paul McVickerVP Information ServicesHIDIpmcvicker at mail.mhanet.com
Date: Tue, 3 Apr 2007 15:57:16 +1200From: HENDERSON MIKE, MR
[EMAIL PROTECTED]Subject: RE: [U2] Memory used in a BASIC
program {Unclassified} No SYSTEM() function as far a I know But see HELP
MAKE.MAP.FILE LIST MAP WITH @ID LIKE Program id REF OBJ CR SIZE SNIP
Original Message Subject: [U2] Memory used in a BASIC program  Is there a
SYSTEM() function in Universe that will give the  amount of memory consumed
by the basic program?SNIP
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [AD] ~100 ADDS 4000/260 terms. + 28 Systech RCS-5018s for sale [/AD]

2007-04-03 Thread Gabriel Green
It looks like my company is moving to WinTerms with AccuTerm (finally!) from
the ADDS terminals.

Thus we have about 100 working ADDS terminals, about 95% of which have the
RJ-45 clips, and 28 working
Systech RJ-45 serial port/printer servers, with 16 ports each.

Let me know privately if anyone is interested, or if anyone knows a company
that specializes in buying this equipment back.

Thanks,
Gabe
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [AD] ~100 ADDS 4000/260 terms. + 28 Systech RCS-5018s for sale [/AD]

2007-04-03 Thread MAJ Programming
If you've been on this forum last week someone is looking for them.

- Original Message -
From: Gabriel Green [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Tuesday, April 03, 2007 3:59 PM
Subject: [U2] [AD] ~100 ADDS 4000/260 terms. + 28 Systech RCS-5018s for sale
[/AD]


 It looks like my company is moving to WinTerms with AccuTerm (finally!)
from
 the ADDS terminals.

 Thus we have about 100 working ADDS terminals, about 95% of which have the
 RJ-45 clips, and 28 working
 Systech RJ-45 serial port/printer servers, with 16 ports each.

 Let me know privately if anyone is interested, or if anyone knows a
company
 that specializes in buying this equipment back.

 Thanks,
 Gabe
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/