Help using Base SAS procedures

comparision among variables between two data sets

Reply
N/A
Posts: 0

comparision among variables between two data sets

hi,

I am working on a class project which requires comparing several variables among two data sets. I have got a master file and updated file with different salary, job code, and job description. I noticed PROC Compare procedure being used to perform this operation. Is there other procedure besides this? Any help is greatly appreciated.

Thanks in advance!!
Super Contributor
Super Contributor
Posts: 3,174

Re: comparision among variables between two data sets

Posted in reply to deleted_user
None, other than using a DATA step approach, handcoded, where you rename one set of variables, and use a MERGE with a BY statement. PROC COMPARE is quite powerful, so I recommend you use that approach.

Scott Barry
SBBWorks, Inc.
Ask a Question
Discussion stats
  • 1 reply
  • 90 views
  • 0 likes
  • 2 in conversation