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
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.
|