I have text data delimited by comma as below
240,W,Ginger,,120
240,W,Protea,,180
356,W,Heliconia,,60
DATA A;
INFILE "d:\sas_data\data\testfile.csv" dlm = ',' missover ;
INPUT VAR1 VAR2 $ VAR3 $ VAR4 VAR5;
RUN;
result
240 W Ginger 120 .
240 W Protea 180 .
356 W Heliconi 60 .
the problem is sas doesn't read the 4th field (,,) between Ginger and 120
if i want to sas read it (not skip) and sas doesnt go to the new line when it is end of each record (after 120 it shoud go to new line), how can i do ?
thank in advance