Error in output

Posted on
No user picture. liagym1 Joined: 11/06/2019
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.

Replied on Wed, 11/06/2019 - 12:12
Picture of user. AdminRobK Joined: 01/24/2014

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?

Replied on Thu, 11/07/2019 - 02:09
No user picture. liagym1 Joined: 11/06/2019

In reply to by AdminRobK

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.
Replied on Thu, 11/07/2019 - 10:21
Picture of user. AdminRobK Joined: 01/24/2014

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.
Replied on Mon, 11/11/2019 - 20:56
Picture of user. AdminNeale Joined: 03/01/2013

Nice spot - ascii files can come in many flavors and have invisibles difficult to spot with some editors.