I finally got it to work, but another way which I think is simpler (it only required the addition of 2 lines of code, provided by tech support): input@; and translate and compress functions to get rid of/replace special characters. Here is the part of the code that changed (in the first section of the macro fileread) data var_names; length x1-x145 $30; infile "C:\Users\pignon2\Dropbox\2013_chamber_experiment\05.29.13\&filein" dsd dlm='09'X firstobs=17 obs=17 missover lrecl=32767; input @; _infile_=translate(_infile_,'_',''''); _infile_=compress(_infile_," @%/.'?"""); input (x1-x145) ($) ; run;
... View more