LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 2004, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 23 Dec 2004 13:30:42 -0500
Reply-To:     richard@GLENCAIRN-CONSULTING.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
Comments:     To: David Fickbohm <DavidF@HOMEGAIN.COM>
From:         Richard Graham <richard@GLENCAIRN-CONSULTING.COM>
Subject:      Re: Losing data when writing a text file out
Comments: To: SAS-L@LISTSERV.VT.EDU
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.


Back to: Top of message | Previous page | Main SAS-L page