Date: Fri, 24 May 2002 09:46:50 -0400
Reply-To: "Goldman, Brad (AT-Atlanta)" <Brad.Goldman@AUTOTRADER.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Goldman, Brad (AT-Atlanta)" <Brad.Goldman@AUTOTRADER.COM>
Subject: FW: Puts, Part II
Content-Type: text/plain; charset="iso-8859-1"
Thanks to Robert Burnham, and William Viergever for the solution, as well as
those who answered the exact same question a digest or two before my
question got posted! Actually, I had to combine both William and Robert's
suggestions, the lrecl needed to be added to both the infile and file
statements. The correct datastep "kernel" is below.
infile "&in" length=ln lrecl=1024;
file "~/temp" lrecl=1024;
input @;
input line $varying1024. ln;
line=compress(line,'0D'x);
put line $varying1024. ln;
run;
Thanks again!
Brad
|