I am trying to run an ACE with moderator script, and this is the error I received in the output. What changes should i make in my data?
Error found in rectangular data; record number 1 :
1004 -999 -999 -999 -999 -999
We have a problem whose error code is 176
and which I ran across at line number 38
of your input script
RE FILE=AGE11DATA.DAT
~~~
An error has occurred while reading a rectangular file
Make sure that you don't have a FORMAT at the beginning
and note, I can't read numbers that begin with D, Q or E.
Looks like this is a classic Mx script?
Yes! I forgot to mention in my question.
I haven't used classic Mx in so long that I've forgotten all of the details of how it works. But, if I correctly understand its manual, classic Mx can only read ASCII-formatted files (that have DOS-style line breaks, i.e. CRLF??). Based solely on the error message (i.e., without seeing the whole script), my guess is that you're trying to load a datafile that's in Unicode format. Specifically, I suspect the first line of the file starts with a byte order mark, on which Mx chokes when trying to read it. Edit: actually, since Mx was able to read most (all?) of the line, maybe it's a Unicode-specific newline character.
Two further questions:
1. What operating system are you running?
2. Did you use SPSS to create the data file you're trying to use with Mx?
Thank you for your reply.
I removed the byte order mark and my script works. Thank you so much for your help!
So it WAS a byte-order mark at the start of an SPSS-created file after all! I've encountered that very scenario twice in the past year and a half myself. Come to think of it, when I was a student, I twice saw a GWAS fail to run because SPSS had output a corrupt phenotype file.
Nice spot - ascii files can come in many flavors and have invisibles difficult to spot with some editors.