Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ORDCREATE(0) - Internal Error 8002 1

Status
Not open for further replies.

pjabc

Programmer
Sep 12, 2002
2
GB
Help !

I have recompiled a simple clipper program (version 5.3) and linked using Exospace
Now when running this program I am getting the error ORDCREATE(0) - Internal Error 8002.

I cannot see any reference to this error in the manuals.

Any help would be appreciated.
Thanks


 
To give credit where credit is due, I found the following answer to your problem here -


8002 Indexing error

While indexing, ordcreate(0) internal error 8002 may appear. It seems to appear mostly with CA-Clipper 5.3 programs linked with ExoSpace and running under Windows 95, although it has also been reported under Windows 3.1, and with CA-Clipper 5.2e and 5.01, and linked with Blinker. Typically, the error occurs on "larger" files (e.g. >10MB or 80,000 records), although that is not always the case.
It has been reported that the 8002 error occurs unders the German version of CA-Clipper 5.3a during a section of code that opens and closes many tables repeatedly.
When the error occurs with a Blinker-linked program under Win95, the program terminates with an Windows exception error. With an ExoSpace-linked program the 8002 error appears.
The ExoSpace link option "EXOSPACE PACKAGE NOVM" disables the VMM system so that when Clipper uses up all available physical memory it will cause either error 8002 or "Conventional memory exhausted". It is not recommended for normal applications, although it may be appropriate for installation programs. Blinker has a similar link option available.
Internal error 8002 may also be caused by an error in custom C or ASM code which allocates memory and then does not release it properly.
The Windows memory system may interfere with CA-Clipper's Virtual Memory Manager, causing the error. It is not known whether the problem is limited to the DBFNTX RDD, or occurs in other (all) RDDs.
Action: Try one or more of the following:
1) Try increasing the available Virtual Memory to the CA-Clipper programs. Include in the SET CLIPPER environment variable the option:
//VMSIZE:16834
For example:
set CLIPPER=//F:99 //VMSIZE:16834
Try using different (smaller) values for //VMSIZE. The //F:99 value is just an example - you may have something different.
2) The program may need more stack space. You can adjust the amount of stack space with the following:
In RTLINK: add /STACK:sizeBytes
In BLINKER: add STACK sizeBytes
The default value of sizeBytes is around 5000. Try increasing it to 8192.
3) Use the OPTEDIT program with the EXTRAMIN switch. The Option Editor, OPTEDIT.EXE, is a utility that allows you to change the behavior of your CA-Clipper applications which have been linked using ExoSpace.
EXTRAMIN values of 4096 and 8000 have been reported as successful. To reserve 4MB of memory:
OPTEDIT appname -EXTRAMIN 4096
The OPTEDIT program can be found on The Oasis at: 4) An ExoSpace application can run out of virtual memory if Windows runs out of virtual memory. Try increasing the maximum size of the Windows swap file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top