Hi, I am using a data step to import data. The problem is that I have two lines with similar content in the input file. The only difference is that in the first row the column has no space at the end, in the second row there is a space at the end in the same field. After the import the space is removed from the second row, it is somehow trimmed without me doing this. Anybody knows what to do? Thx in advance! DATA TEST.IMPORTNAME;
LENGTH
Fieldname $ 10
FORMAT
Fieldname $CHAR10.;
INFORMAT
Fieldname $CHAR10.;
INFILE '/opt/data/Filename.csv'
LRECL=500
MISSOVER
firstobs=2
DSD;
INPUT
Fieldname : $CHAR10.;
RUN;
... View more