BookmarkSubscribeRSS Feed
sasuser55
Calcite | Level 5

I am attempting to join two tables on three different variables - 1 char and 2 numeric variables. The respective variables from each table match the variable type, as confirmed by proc contents, but i am still receiving the error message that they do not match.

2 REPLIES 2
Amir
PROC Star

Hi @sasuser55,

 

Please share the code and the proc contents using the "Insert code" icon ("</>") to give a box to paste the details into.

 

This should help others to make suggestions you can try.

 

 

Kind regards,

Amir.

Astounding
PROC Star

If the contents showed a difference, you would get a different error message than the one you actually got.  This one is (keep in mind we are guessing because you kept the code itself a secret) more like you subset the data with:

 

where statecode="20"

 

when statecode is actually a numeric variable.  So you will have to show the program if you want real help.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 920 views
  • 0 likes
  • 3 in conversation