hi, i have a text file on linux. i have a stored process that reads the file and streams it to _webout. the user gets it in his browser as an attachment that opens in notepad. in notepad, the lines don't end. the reason is that the line termination string is LF ('0a'x), for notepad it should be CRLF ('0a'x'0d'x). i tried tranwrd-ing 0a to 0d0a which did not work. also file _webout termstr=crlf doesn't work. can anyone tell me what would? my code: data _null_; rc = stpsrv_header("Content-type","text/plain"); rc = stpsrv_header("Content-disposition","%str(attachment; filename=saslog.txt)"); run; data _null_; infile "%qcmpres(&job_log_file)"; input; file _webout termstr=crlf; put _infile_; run; thanks, Bart
... View more