Hello,
I have to compare 2 large datasets using proc compare with printing the results. I used the code below
Proc compare base=tab1 comp=tab2 ; id anonymat gender; run;
But I have this warning message for all the variables not in ID statement
Note: The MAXPRINT=50 printing limit has been reached for the variable birthdate. No more values will be printed for this comparison
How to solve it?
Thanks
The NOTE is telling you want to do.
Add the MAXPRINT= option to the PROC COMPARE statement.
How many differences does your COMPARE difference summary report? You can use the MAXPRINT option to print more differences but beyond a few hundred the output gets too large an other techniques become more useful.
You may need to sort by more variables than the ID variables if there multiple values of the ID var combinations.
The NOTE is telling you want to do.
Add the MAXPRINT= option to the PROC COMPARE statement.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.