Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: -infix- error


From   Jeph Herrin <jherrin@flyingbuttress.net>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   st: -infix- error
Date   Fri, 05 Nov 2004 10:01:09 -0500

Sorry for the repost, but no one took the bait the first time.

I'm trying to read in a very wide ASCII file (30,098 byte records)
using -infix-. -infix- runs fine and returns no errors, but only
reads the first 174 records (out of 3000+). The records that are
read are correct.

I am only reading 24 variables from the file, with 100M allocated
to memory, so there's no memory problem (though there's an odd
coincidence that the 174 records x 24 vars = 29,970 bytes, almost
the same as the record length).

This is a commercial dataset, and when I use SAS to read it in,
then convert with Stat/Transfer, it works fine. (Why do I bother
with -infix- then? I don't have SAS, so I have to do it on another
machine, and I'm likely to be doing this over and over to pick out
different variables I need. And Stat/Transfer can't handle the
whole file if I read it into SAS, because of too many vars [2048 limit
apparently])

Any ideas?

thanks,
Jeph
--
Jeph Herrin
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index