My old Stata commands for reading in a DAT file with infix aren't working. I'm using a dictionary because it's a multi-record data set.
I've entered three versions of the same command intended to read the dictionary file. They differ only in the use of quotation marks:
infix using "C:\WP.DOC\Jews\Yankelovich1981\Yank8225.dict
infix using "C:\WP.DOC\Jews\Yankelovich1981\Yank8225.dict"
infix using C:\WP.DOC\Jews\Yankelovich1981\Yank8225.dict
Each command returns the same error (601) which is not helpful:
file C:\WP.DOC\Jews\Yankelovich1981\Yank8225.dict not found
The dictionary file is a text file created in Notepad (attached). There is nothing wrong with the directory. The following command (with an intentional error) located the data file in the same directory:
. infix using "C:\WP.DOC\Jews\Yankelovich1981\YANK8225.DAT
000114233121213122121212 22 24411514777113137411133312333 1111211122222222221
file does not contain dictionary
r(613);
I'm using Stata IC 14.2 with Windows 7.
Any suggestions? Thanks.
I've entered three versions of the same command intended to read the dictionary file. They differ only in the use of quotation marks:
infix using "C:\WP.DOC\Jews\Yankelovich1981\Yank8225.dict
infix using "C:\WP.DOC\Jews\Yankelovich1981\Yank8225.dict"
infix using C:\WP.DOC\Jews\Yankelovich1981\Yank8225.dict
Each command returns the same error (601) which is not helpful:
file C:\WP.DOC\Jews\Yankelovich1981\Yank8225.dict not found
The dictionary file is a text file created in Notepad (attached). There is nothing wrong with the directory. The following command (with an intentional error) located the data file in the same directory:
. infix using "C:\WP.DOC\Jews\Yankelovich1981\YANK8225.DAT
000114233121213122121212 22 24411514777113137411133312333 1111211122222222221
file does not contain dictionary
r(613);
I'm using Stata IC 14.2 with Windows 7.
Any suggestions? Thanks.
Comment