home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!paladin.american.edu!auvm!psuvm!drh4
- Organization: Penn State University
- Date: Mon, 9 Nov 1992 10:36:42 EST
- From: Daryl R. Hoffman <DRH4@psuvm.psu.edu>
- Message-ID: <92314.103642DRH4@psuvm.psu.edu>
- Newsgroups: bit.listserv.sas-l
- Subject: Re: thanx - simple update question
- References: <SAS-L%92110914593471@AWIIMC12.IMC.UNIVIE.AC.AT>
- Lines: 32
-
- In article <SAS-L%92110914593471@AWIIMC12.IMC.UNIVIE.AC.AT>,
- HOLLI@FRINED51.BITNET says:
-
-
- >Now I'm testing INDEX= option in DATA set. The variable ELEVE has sequencial
- >value of student ID. The error must have some syntax
- >problem but I cannot find the clearer example in "SAS Technical Report P-222,
- > 9 data promo(index=eleve); set matiere.promo;
- >+ _____
- >+ _____
- >+ _____
- > 23
- >+ 23
- >+ 23
- > 10 endsas;
-
- > ERROR 23-7: Invalid value for the INDEX option.
- >+ERROR 23-7: Invalid value for the INDEX option.
- >+ERROR 23-7: Invalid value for the INDEX option.
-
- Statement is not in correct syntax. Page 82 of Tech Report P-222 would show
- your data statement like this:
-
- data promo(index=(eleve));
-
- The syntax is similar to the WHERE data statement option and the rename option.
-
-
- Daryl R. Hoffman The Pennsylvania State University
- Bitnet: DRH4@PSUVM.BITNET The Center for Academic Computing
- Internet: DRH4@PSUVM.PSU.EDU Sr. Appl Prog/Anal, Resource Administration
- Office: (814) 865-0845 Fax: (814) 863-7049
-