Date: Tue, 16 Nov 1999 08:09:53 -0000
Reply-To: Neil.Simpson@NATWEST.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Neil Simpson <Neil.Simpson@NATWEST.COM>
Subject: Re: reading dataset but skipping label text.
Yes, and I believe it's very well documented under "INPUT, column" in your
SAS Language manual.
Regards
Neil Simpson
UK
> ----------
> From: Wen-Feng Hsiao[SMTP:d8442803@STUDENT.NSYSU.EDU.TW]
> Sent: 16 November 1999 04:44
> To: SAS-L@LISTSERV.VT.EDU
> Subject: Re: reading dataset but skipping label text.
>
> Thanks for Lawrence's and Jian's answers. They both work pretty well. By
> the way, can I locate to a particular column of one particular
> observation?
>
> Wen-Feng
>
> In article <382EF4F5.6ABA828D@duke.edu>, you say...
> > A way that will work is to modify your data statement to include the
> > following:
> >
> > data senior;
> > infile 'c:\dataset\data.txt' expandtabs;
> > input n1 n2;
> > IF _N_=1 THEN DELETE; * delete the first observation read.;
> > RUN;
> >
>
> In article <80ner6$q4e$1@news.aei.ca>, you say...
> > Wen-Feng,
> >
> > Write firstobs=2 on the INFILE line.
> > SAS will read data from the second observation.
> >
> > infile 'c:\dataset\data.txt' firstobs=2;
>
---------------------------------------------------------------------------
The contents of this e-mail may be privileged and are confidential. It may not be disclosed to or used by anyone other than the addressee(s), nor copied in any way. If received in error, please advise the sender, then delete it from your system.
National Westminster Bank Plc is regulated by the Personal Investment Authority and IMRO for investment business. A member of the NatWest and Gartmore Marketing Group advising on the life assurance, pensions and unit trust products only of that Marketing Group.
Registered Office: 41 Lothbury London EC2P 2BP
Registered Number: 929027 England
---------------------------------------------------------------------------
|