Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Problem with infix: record too long


From   Barbara Guimarães <[email protected]>
To   [email protected]
Subject   st: Problem with infix: record too long
Date   Sun, 24 Apr 2011 15:42:02 -0300

Dear statlisters,

I'm having trouble reading data with infix. I am using Stata 11.1 for Windows.

I received the "record too long" error, and I subsequently read the
thread "Re:st:reading data with infix: record too long" (as of 2003
and 2008), then checked my data set with -hexdump, analyze- but I
don't know what to do now.

The number of lines in my dataset is 3,972,429, but Stata is only
reading 2,513,116 lines. I have also tried to open the dataset using a
text editor to see if I could do something about it (my data set
format is .TXT), but its not opening due to its size.
I have alos tested reading the dataset wiht only one or two variables,
but in all cases Stata only brings part of the sata set and I receive
the "record too long" error.

I do believe it is not a memory issue, because I had previously read
another dataset in Stata, which was as large as this one, with no
problems. The dataset I'm having trouble with reading is in Binary
format, and I don't know if this is the cause of the error or not (the
other dataset is ASCII format).

What are the possibilities, if any, to integraly read this file in
Stata? I would need to merge both datasets afterwards, would it be
possible?

Thanks and regards,

Barbara
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index