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 (January 2009, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 29 Jan 2009 21:43:34 -0500
Reply-To:     Arthur Tabachneck <art297@NETSCAPE.NET>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Arthur Tabachneck <art297@NETSCAPE.NET>
Subject:      Re: Deleting the First Row in Text Output
Comments: To: AbbeyFN@AOL.COM

data _null_; file "c:\xyz.txt"; set xyz; put permno date; run;

HTH, Art --------- On Thu, 29 Jan 2009 18:33:46 -0800, B.Abbey <AbbeyFN@AOL.COM> wrote:

>I have the following data located in work.xyz where 'permno' and >'date' are the column headers. > >permno date >10104 20001201 >10107 20010321 >11081 20010709 >11308 20011027 >12060 20020214 >12490 20020604 >13856 20020922 > >I use the following code to export the data to a text file: > >proc export data=xyz > outfile='C:\xyz.txt' > replace; >run; > >The saved xyz.txt file looks like this: > >permno date >10104 20001201 >10107 20010321 >11081 20010709 >11308 20011027 >12060 20020214 >12490 20020604 >13856 20020922 > >I need it so the headers permno and date are removed. I have >attempted to use the if _N_ = 1; then delete command but it does not >work. > >Regards, > >B.A.


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