Hi All,
I have a Ascii file which is fixed width length. In the SAS program, I am reading the file through Infile option. I have data as below:
1201 2008-10-31 5702345678 2334
First column I should read as : 1
Second Column: 201
Third Column:
Fourth: 2008-10-31
Fifth:
Sixth:
Seventh:
Eigth:570
Ninth:2345678
tenth:
Eleventh:2334
But when I use infile option it is only reading first three columns and rest columns are empty even though some of the columns are having data.
Here is my code snippet.
data _null_;
filename temp "/mydir/filename.txt";
libname wip '$PWD/old';
data wip.basic_xtrct;
infile temp truncover;
input @1 first $1.
@2 Second $3.
@3 Third $10.
run;
Can you please help me in solving this issue.