dbTalk Databases Forums  

Universe file pointers in common block issue

comp.databases.pick comp.databases.pick


Discuss Universe file pointers in common block issue in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
stormy
 
Posts: n/a

Default Universe file pointers in common block issue - 11-03-2005 , 07:48 AM






Hoi,

I am using a common block to store file pointers (In an array).
This all works fine, except when I do a select statement with a
subroutine that
uses this common bock, it will use loads of memory of my machine until
it gives an error, out of memory. (IOT Trap)

I use universe 10.0.0.0 on a hp unix machine.

Who can help me???

Stormy


Reply With Quote
  #2  
Old   
michael@preece.net
 
Posts: n/a

Default Re: Universe file pointers in common block issue - 11-03-2005 , 04:23 PM







stormy wrote:

Quote:
Hoi,

I am using a common block to store file pointers (In an array).
This all works fine, except when I do a select statement with a
subroutine that
uses this common bock,
You mean you do something like this:

SUBROUTINE MYSUB
COMMON FILEVARS(9)
EQU MYOPENFILE TO FILEVARS(1)
SELECT MYOPENFILE

?

Quote:
it will use loads of memory of my machine until
it gives an error, out of memory. (IOT Trap)

I use universe 10.0.0.0 on a hp unix machine.

Who can help me???

Stormy


Reply With Quote
  #3  
Old   
Dave Mitchell
 
Posts: n/a

Default Re: Universe file pointers in common block issue - 11-03-2005 , 05:02 PM



Hi Stormy - I (or someone else) may be able to help you better if you post
some code snippets of your subroutine and the subroutine call....

Dave


"stormy" <storm.erik (AT) gmail (DOT) com> wrote

Quote:
Hoi,

I am using a common block to store file pointers (In an array).
This all works fine, except when I do a select statement with a
subroutine that
uses this common bock, it will use loads of memory of my machine until
it gives an error, out of memory. (IOT Trap)

I use universe 10.0.0.0 on a hp unix machine.

Who can help me???

Stormy




Reply With Quote
  #4  
Old   
stormy
 
Posts: n/a

Default Re: Universe file pointers in common block issue - 11-04-2005 , 12:52 AM



All,

I seem to have found my memory issue.
I think it is the FILEINFO statement that causes this.
I am almost finished my investigation.

Stormy



Dave Mitchell schreef:

Quote:
Hi Stormy - I (or someone else) may be able to help you better if you post
some code snippets of your subroutine and the subroutine call....

Dave


"stormy" <storm.erik (AT) gmail (DOT) com> wrote in message
news:1131025721.743608.251160 (AT) g47g2000cwa (DOT) googlegroups.com...
Hoi,

I am using a common block to store file pointers (In an array).
This all works fine, except when I do a select statement with a
subroutine that
uses this common bock, it will use loads of memory of my machine until
it gives an error, out of memory. (IOT Trap)

I use universe 10.0.0.0 on a hp unix machine.

Who can help me???

Stormy



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.