Which one of the following statements stores the value 567 in the macro variable CODENUM?
Given the following SAS statement:
%let idcode = Prod567;
Which one of the following statements stores the value 567 in the macro variable CODENUM?
A . %let codenum = substr(&idcode,length(&idcode)-2);
B . %let codenum = substr(&idcode,length(&idcode)-3);
C . %let codenum = %substr(&idcode,%length(&idcode)-2);
D . %let codenum = %substr(&idcode,%length(&idcode)-3);
Answer: C
Latest A00-212 Practice Questions with 184 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments