Error in output
Posted on

Forums
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.
classic Mx?
Looks like this is a classic Mx script?
Log in or register to post comments
In reply to classic Mx? by tbates
Yes! I forgot to mention in
Yes! I forgot to mention in my question.
Log in or register to post comments
text-file format
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?
Log in or register to post comments
In reply to text-file format by AdminRobK
Re: error in output
1. I'm not sure what operating system is. I use windows 10 and I ran the script in Mx 32 (I forgot to mention that in my question!- I couldn't a forum for classic Mx).
2. Yes, from SPSS to ASCII-format data file.
Thank you for your reply.
Log in or register to post comments
In reply to text-file format by AdminRobK
I removed the byte order mark
I removed the byte order mark and my script works. Thank you so much for your help!
Log in or register to post comments
So it WAS a byte-order mark
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.
Log in or register to post comments
Kudos Rob!
Nice spot - ascii files can come in many flavors and have invisibles difficult to spot with some editors.
Log in or register to post comments