BookmarkSubscribeRSS Feed
aditya1
Calcite | Level 5

Hi i want to create a table that contains same variable names it has three desired output tables .

i want all three output's in a single table 

i tried it with 'merge' statement iam getting column wise but i need it in a row.

2 REPLIES 2
PaigeMiller
Diamond | Level 26

Give us a small example of what you want. The words you wrote are not sufficient to explain the problem.

 

Show us the MERGE statement you used, and the data and the error.

 

Please, in the future choose a meaningful title for your post.

--
Paige Miller
lakshmi_74
Quartz | Level 8
Hey Aditya1,
As you are saying you are having three tables with same variables, then you have to use set statement or use union with PROC SQL.

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

How to Concatenate Values

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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