Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.
yes, B, .. the if statement selects the two observations, which do not contribute fully to the merge (s. code below).
data emp_name;
infile datalines;
input name $ empid;
datalines;
Jill 1864
Jack 2121
Joan 4698
John 5463
;
data emp_dept;
infile datalines;
input empid department $;
datalines;
2121 Acc
3567 Fin
4698 Mar
5463 Acc
;
data all;
merge emp_name (in=emp_n)
emp_dept (in=emp_d);
by empid;
if (emp_n and not emp_d) or (emp_d and not emp_n);
run;
if not A and not B the answer is 2, otherwise, the answer should be 1.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
mhminkov
2 years, 10 months agoKleinstone
3 years, 3 months agoKleinstone
3 years, 3 months ago