I am trying to use code from a sas help page to import the same file class.txt. But sas doesn't recognise the delimiter when I try for some reason. I can get it to import properly with a data step, but I'm confused why I'm getting a different log/result for the same code and file Here is the log from the sas help center infile 'C:\userid\pathname\Class.txt' delimiter='09'x MISSOVER DSD lrecl=32767
18 ! firstobs=5 ;
19 informat Name $7. ;
20 informat Gender $1. ;
21 informat Age $3. ;
22 format Name $7. ;
23 format Gender $1. ;
24 format Age $3. ;
25 input
26 Name $
27 Gender $
28 Age $
29 ;
30 if _ERROR_ then call symputx('_EFIERR_',1); /* set ERROR detection macro variable */
31 run; and my log infile '/folders/myfolders/practice data/IMPORT DATA/class.txt' delimiter='09'x MISSOVER DSD lrecl=32767 firstobs=5 ;
96 informat Name_____Gender___Age $20. ;
97 format Name_____Gender___Age $20. ;
98 input
99 Name_____Gender___Age $
100 ;
101 if _ERROR_ then call symputx('_EFIERR_',1); /* set ERROR detection macro variable */
102 run; The import code is proc import datafile='/folders/myfolders/practice data/IMPORT DATA/class.txt'
out=class
dbms=dlm
replace;
datarow=5;
delimiter='09'x;
run;
proc print data=class;
run;
... View more