home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / bit / listserv / sasl / 4976 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  1.5 KB

  1. Path: sparky!uunet!gatech!paladin.american.edu!auvm!psuvm!drh4
  2. Organization: Penn State University
  3. Date: Mon, 9 Nov 1992 10:36:42 EST
  4. From: Daryl R. Hoffman <DRH4@psuvm.psu.edu>
  5. Message-ID: <92314.103642DRH4@psuvm.psu.edu>
  6. Newsgroups: bit.listserv.sas-l
  7. Subject: Re: thanx - simple update question
  8. References:  <SAS-L%92110914593471@AWIIMC12.IMC.UNIVIE.AC.AT>
  9. Lines: 32
  10.  
  11. In article <SAS-L%92110914593471@AWIIMC12.IMC.UNIVIE.AC.AT>,
  12. HOLLI@FRINED51.BITNET says:
  13.  
  14.  
  15. >Now I'm testing INDEX= option in DATA set.  The variable ELEVE has sequencial
  16. >value of student ID.  The error must have some syntax
  17. >problem but I cannot find the clearer example in "SAS Technical Report P-222,
  18. > 9          data promo(index=eleve); set matiere.promo;
  19. >+                            _____
  20. >+                            _____
  21. >+                            _____
  22. >                             23
  23. >+                            23
  24. >+                            23
  25. > 10         endsas;
  26.  
  27. > ERROR 23-7: Invalid value for the INDEX option.
  28. >+ERROR 23-7: Invalid value for the INDEX option.
  29. >+ERROR 23-7: Invalid value for the INDEX option.
  30.  
  31. Statement is not in correct syntax.  Page 82 of Tech Report P-222 would show
  32. your data statement like this:
  33.  
  34.   data promo(index=(eleve));
  35.  
  36. The syntax is similar to the WHERE data statement option and the rename option.
  37.  
  38.  
  39. Daryl R. Hoffman              The Pennsylvania State University
  40. Bitnet:   DRH4@PSUVM.BITNET   The Center for Academic Computing
  41. Internet: DRH4@PSUVM.PSU.EDU  Sr. Appl Prog/Anal, Resource Administration
  42. Office: (814) 865-0845        Fax: (814) 863-7049
  43.