data temp;
set test1(in = a) /* 2 observations*/
test2(in=b); /* 5 observations*/
if a and b;
run;
How many observations will be there in temp dataset?
a.) 2
b.) 5
c.) 7
d.) 0
Answer: 0
Please explain the reason behind this.
@Bulleride I'm going to assume you're studying for certification?
I've noticed quite a few questions that you've posted on here. I highly suggest that you do more research and google these issues rather than expect to get all your answers from here. Also, if you purchase the SAS Certification guide the examples have worked solutions, since I'm assuming you're working off free test bank questions that you found online somehow, which don't have worked solutions.
Also, take your time to perform these examples in a SAS session. You'll learn much more from doing it, rather than just reading and asking.
Good luck anyway!
There is not 1 1 , only 1 0 OR 0 1 .
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 16. Read more here about why you should contribute and what is in it for you!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: