I am receiving this error while using the PROC UNIVARIATE procedure. Other posts on this forum, and on other sites, refer to this error in the context of importing data. There is a suggestion that this error results when the data types are different. Both of these variables are numeric.
The procedure runs without error when only 1 variable is in the VAR statement.
VAR var1 var2; RUN;
ERROR: Variable var1 in list does not match type prescribed for this list.
ERROR: Variable var2 in list does not match type prescribed for this list.
Proc univariate requires numeric variables. Run a proc contents on your dataset to see your variable types. You don't have a DATA= portion in your proc? It's not required, but I'd highly insist on it, so you can trace your code.
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.