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 Dumps Valid Version with 184 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments