Want to pass your SAS Base Programming for SAS 9 A00-211 exam in the very first attempt? Try Pass2lead! It is equally effective for both starters and IT professionals.
VCE
The following SAS program is submitted:
data combine; prefix='505'; middle='6465 `; end='09090';
Which statement successfully completes the program so that TOTAL has a value of 505-6465-09090?
A. total = cat('-', prefix, middle, end);
B. total = catx('-', prefix, middle, end);
C. total = prefix !!'-'!! middle ``!!'-'!! end;
D. total = prefix!!'-'!! left(middle)!!'-'!! end;
Which statement is true concerning the SAS automatic variable _ERROR_?
A. It cannot be used in an if/then condition.
B. It cannot be used in an assignment statement.
C. It can be put into a keep statement or keep= option.
D. It is automatically dropped.
The following SAS program is submitted:
data WORK.DATE_INFO;
Day="01" ;
Yr=1960 ;
X=mdy(Day,01,Yr) ;
run;
What is the value of the variable X?
A. the numeric value 0
B. the character value "01011960"
C. a missing value due to syntax errors
D. the step will not compile because of the character argument in the mdy function.