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

  1. Path: sparky!uunet!stanford.edu!bu.edu!wupost!darwin.sura.net!paladin.american.edu!auvm!psuvm!drh4
  2. From: DRH4@psuvm.psu.edu (Daryl R. Hoffman)
  3. Newsgroups: bit.listserv.sas-l
  4. Subject: Re: Simple Update Request - Reply
  5. Message-ID: <92311.152535DRH4@psuvm.psu.edu>
  6. Date: 6 Nov 92 20:25:34 GMT
  7. References: <82921106161028/0005400191PK2EM@mcimail.com>
  8. Organization: Penn State University
  9. Lines: 21
  10.  
  11.  
  12.  
  13.   Not sure if SAS 6.07 still has the same 'bug' as SAS 6.06 did, but we had
  14. to use MERGE instead of UPDATE to do the update correctly in SAS 6.06.  We
  15. have never tried to use UPDATE after this 'feature' was reported to SAS and
  16. we have never received a reply from SI on this one.
  17.  
  18.   So try and do a match merge to do what you want the program to do.
  19.  
  20.  
  21.    MERGE A(IN=IN1)  B(IN=IN2);
  22.      BY variable common to both;
  23.  
  24.     IF IN1 and IN2 then ...;
  25.  
  26.      else ...;
  27.  
  28. Daryl R. Hoffman              The Pennsylvania State University
  29. Bitnet:   DRH4@PSUVM.BITNET   The Center for Academic Computing
  30. Internet: DRH4@PSUVM.PSU.EDU  Sr. Appl Prog/Anal, Resource Administration
  31. Office: (814) 865-0845        Fax: (814) 863-7049
  32.