It might be easier to break the file with text editors like VSlick, UltraEdit, or use SAS. SAS doesn't have any limitation for file size, and column counts. You can also try the database tools like SQL Server or Oracle.

Thanks,

Dewen (David) Hou
Blockbuster Inc.
Office: 972-683-8021
Cell: 214-552-3111

Inactive hide details for Bill Thoen <[EMAIL PROTECTED]>Bill Thoen <[EMAIL PROTECTED]>


          Bill Thoen <[EMAIL PROTECTED]>

          10/04/2005 01:50 PM


To

[email protected]

cc


Subject

MI-L Problem Breaking Up Large Files

Never thought I'd run into this, but I've got a 2.9GB fixed-length text
file that contains some data I want to load into MapInfo. Now, I know
that's too big, so I thought I could simply write a little script in Visual
Basic and read half the records into one file and the other half into a
second file, making two files that are smaller than the limit.

However, MapBasic and Visual Basic can't address positions in a file beyond
2GB. The signed long integer (which is what these systems use to address
locations in a file) just doesn't stretch that far.

Anyone know what I can do to break this file up into smaller chunks?

- Bill Thoen

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 18126


Reply via email to