home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!bu.edu!wupost!darwin.sura.net!paladin.american.edu!auvm!psuvm!drh4
- From: DRH4@psuvm.psu.edu (Daryl R. Hoffman)
- Newsgroups: bit.listserv.sas-l
- Subject: Re: Simple Update Request - Reply
- Message-ID: <92311.152535DRH4@psuvm.psu.edu>
- Date: 6 Nov 92 20:25:34 GMT
- References: <82921106161028/0005400191PK2EM@mcimail.com>
- Organization: Penn State University
- Lines: 21
-
-
-
- Not sure if SAS 6.07 still has the same 'bug' as SAS 6.06 did, but we had
- to use MERGE instead of UPDATE to do the update correctly in SAS 6.06. We
- have never tried to use UPDATE after this 'feature' was reported to SAS and
- we have never received a reply from SI on this one.
-
- So try and do a match merge to do what you want the program to do.
-
-
- MERGE A(IN=IN1) B(IN=IN2);
- BY variable common to both;
-
- IF IN1 and IN2 then ...;
-
- else ...;
-
- 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
-