I am trying to concatenate multiple RTF reports into a single RTF file by importing into SAS data and Exporting to Combine RTF file. When I am doing that everything is transferred exactly except the leading spaces in column labels for indentation purpose so, could anyone help me with this. I am getting the same leading spaces from import of RTF in the final dataset that is ready to export but it is not showing in the concatenated RTF File. The below is the SAS code to Export the data into RTF file data _null_;
set result_s1 end=eof ;
file "../../documentation/combined.rtf" ;
if not delete then do;
if outrtf eq "" then put inrtf;
else do;
if eof then put inrtf;
else put outrtf;
end;
end;
run; SAS Dataset with preserved leading spaces
... View more