Hi, Does anyone have an idea that how to keep the indent spaces or tabs from an input Ascii file to an output external file?
i.e.,
the input file, pgmfile.sas looks like..
data _null_;
set abc;
xyz=123;
......
run;
The indent spaces and tabs were gone and all line flash left in the output file. How to fix it?
data _null_ ;
infile 'c:\aaa\pgmfile.sas' truncover;
input dataline $ 1-200 ;
file 'c:\aaa\num_pgmfile.txt';
put _n_ dataline;
run;
Thanks,
Mike
i.e.,
the input file, pgmfile.sas looks like..
data _null_;
set abc;
xyz=123;
......
run;
The indent spaces and tabs were gone and all line flash left in the output file. How to fix it?
data _null_ ;
infile 'c:\aaa\pgmfile.sas' truncover;
input dataline $ 1-200 ;
file 'c:\aaa\num_pgmfile.txt';
put _n_ dataline;
run;
Thanks,
Mike