I have 6 csv files containing 14 columns that I'm combining into one sas dataset.
If I do files 1-5, all 14 columns are picked up. If I do all 6, I get the following message: "Number of names found is greater than number of variables found." My resulting dataset only contains 13 columns. The last column is dropped.
I've isolated the problem to the 6th file but cannot figure out what this message means. All 6 files have 14 columns and they are all spelled the same. I've searched this site but haven't found anything that details the message.
-- just bring in the 6th file.
-- look at the 6th file with a hex editor. There may be something in there that you can't see with notepad or Word.
-- along the lines of hidden characters, I've had users embed a in the middle of a column and it messed up lots of stuff.
-- did the 6th file come from a Unix source; you could be missing a part of the end-of-line character.
-- it could be the very last row in the 5th file. If it is missing the last field, that might be it.