BookmarkSubscribeRSS Feed
R_Win
Calcite | Level 5
I HAVE TWO DATA SETS I WNAT TO MULTIPLY ONE VARIABLE WITH ANOHTER DATASET VARIABLES HERE ARE THE TABLES

data x;
input id sal;
cards;
1 2
3 4
run;



data b;
input id sal;
cards;
6 8
9 9
run;


nOW I WANT A ANEW DATASET I WANT a.id*b.id and a.sal*b.sal i want those two variables and the output should be also the same names.
1 REPLY 1
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Choose one SAS Discussion forum and post you question there. It is unnecessary to duplicate your question in multiple forums.

Scott

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

Discussion stats
  • 1 reply
  • 794 views
  • 0 likes
  • 2 in conversation