Norbert Michel <[email protected]>:
Replace "dictionary" with "infix dictionary" in your dct file (per help infix).
On Thu, Feb 28, 2008 at 10:39 PM, Norbert Michel
<[email protected]> wrote:
> I am having trouble pulling in data from an ASCII file (the consumer expenditure survey data).
>
> I have start positions and character lengths, and I seem to be missing something simple...but I can't figure out exactly what I'm missing. Any help would be greatly appreciated.
>
> I am using the following command:
> infix using C:\Users\Norbert\Documents\CEX\2004\tryover, using(C:\Users\Norbert\Documents\CEX\2004\Intrvw04\fmlyi041x.txt)
>
> The "tryover" file is supposed to be my dictionary file, and the "fmlyi041x.txt" is my raw data file.
>
> My dictionary file looks like this:
> dictionary using C:\Users\Norbert\Documents\CEX\2004\Intrvw04\fmlyi041x.txt {
> NEWID 1 - 8
> AGE_REF 11 - 12
> AGE_REF_ 13 - 13
*
* 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/