By admin | October 20, 2009

SAS Certified Adv Programmer 130 Questions (2)

The following SAS program is submitted:

<insert statement here>
%let development = ontime; 

proc print data = sasuser.highway; 
    title "For &dept"; 
    title2 "This project was completed &development"; 
run; 

Which one of the following statements completes the above and resolves titlel to “For research&development”?

A. %let dept = %str(research&development);
B. %let dept = %str(research%&development);
C. %let dept = %nrstr(research&development);
D. %let dept = %nrstr(research%&development);

3 comments | Add One

  1. admin - 10/20/2009 at 2:04 pm

    C

  2. simon - 12/15/2011 at 9:40 am

    Can somebody explain this?
    Thanks
    simon

  3. Consty - 02/16/2013 at 4:01 pm

    C: %nrstr() mask macro triggers such as %, $ and &

Leave a Comment

Leave a Reply

Your email address will not be published.