Multipy Two Tables

Reply
Regular Contributor
Posts: 229

Multipy Two Tables

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.
Super Contributor
Super Contributor
Posts: 3,174

Re: Multipy Two Tables

Choose one SAS Discussion forum and post you question there. It is unnecessary to duplicate your question in multiple forums.

Scott
Ask a Question
Discussion stats
  • 1 reply
  • 273 views
  • 0 likes
  • 2 in conversation