windows - How do I create SAS fixed-format output containing end-of-line control characters? -


i using sas's file statement output text file having fixed format (recfm=f). each row end in end-of-line control character(s) such linefeed/carriage return. tried file statement's option termstr=crlf still see no end-of-line control characters in output file. think use put statement insert desired linefeed , carriage return control characters, prefer cleaner method. reasonable thing expect of file statement? (is reasonable expectation outputting fixed format data?) (platform: windows v6.1.7600, sas windows v9.2 ts level 2m3 w32_vspro platform)

do need use recfm=f? can still fixed length output v:

data _null_;   file 'c:\temp\test.txt' lrecl=12 recfm=v;    i=1 5;     x=rannor(123);     put @1 @4 x 6.4;   end; run; 

by specifying want data go (@1 , @3) , format (6.4) along lrecl fixed length output.

there may work-around, believe sas won't output line-ending fixed format.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -