Date: Thu, 23 Dec 2004 13:30:42 -0500
Reply-To: richard@GLENCAIRN-CONSULTING.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Richard Graham <richard@GLENCAIRN-CONSULTING.COM>
Subject: Re: Losing data when writing a text file out
Content-Type: text/plain; charset=us-ascii
David,
Just looked at your code a little more carefully,
the problem is the else, basically you have...
if _n_=1 then put the header out;
else put data out;
it should read as
if _n_=1 then put the header out;
put data out;
Richard W. Graham
Vice President, COO
Glencairn Consulting Group, Inc.
|