Please see the code at below:
data test; set sashelp.class; drop name; test = 1; run; proc compare base=sashelp.class (obs=0) compare=test (obs=0) listvars; run;
SAS Senior Technical Consultant (twitter: @sasrunner)
Oakville, ON, Canada
Certified SAS Base/Advanced Programmer
Certified Data Integration Developer for SAS
Certified Platform Administrator for SAS
Certified Visual Business Analyst for SAS
SAS Certified Associate: Programming Fundamentals Using SAS Viya
SAS Certified Specialist: Intermediate Programming Using SAS Viya
data test; set sashelp.class; drop name; test = 1; run; proc compare base=sashelp.class (obs=0) compare=test (obs=0) listvars; run;
No comments:
Post a Comment