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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Array Sizes

Status
Not open for further replies.

MailMan2

Programmer
Dec 2, 2002
8
CA
Hello,

Looking for ideas.... we have a process that parses EDI messages. We load the message into an array. This has been working fine for many, many years however recently the number of lines in the files have started to exceed 4096 and causing our program to abend. Has anyone had this problem?

Thanks!

MailMan2
 
Mailman2,

You have reached the limits of Clipper's arays. The obvious thing to do is shove the data into a database. OK, it may not be as fast as in memory but there are no size limitations and since there can't be huge volumes of data or it wouldn't fit in memory currently, it will probably all be in the disk cache anyway.

Ian Boys
DTE Systems Ltd
 
use multi dem arrays...

mess[ page, line ]


this should work just fine as long as you dont have more than 4096 pages.

bobby
 
There are 2 things that you are up against, the permitted size of arrays and the ammount of memory available to hold them. It also depends on what you want to do with the data.

Ian Boys
DTE Systems Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top