1. Which ODS statement option terminates output being written to an HTML rile?
A. END
B. QUIT
C. STOP
D. CLOSE
Answer: D
2. Which statement describes a characteristic of the SAS automatic variable _ERROR_?
A. The _ERROR_ variable maintains a count of the number of data errors in a DATA step.
B. The _ERROR_ variable is added to the program data vector and becomes part of the data set being created.
C. The _ERROR_ variable can be used in expressions in the DATA step.
D. The _ERROR_ variable contains the number of the observation that caused the data error.
Answer: C
3. A user-defined format has been created using the FORMAT procedure. Where is it stored?
A. in a SAS catalog
B. in an external binary file
C. in a SAS dataset in the WORK library
D. in a SAS dataset in a permanent SAS data library
Answer: A
4. The value 110700 is stored in a numeric variable named SALARY. Which FORMAT statement displays the value as $110,700.00 in a report?
A. format salary comma11.2;
B. format salary dollar8.2;
C. format salary dollar11.2;
D. format salary comma8.2 dollar8.2;
Answer: C
5. What describes the SAS automatic _ERROR_ variable?
A. The _ERROR_ variable contains the values ‘TRUE’ or ‘FALSE.’
B. The _ERROR variable maintains a count of the number of data errors.
C. The _ERROR_ variable can be used in expressions or calculations in the DATA step.
D. The ERROR_variable contains the number or the observation that caused the error.
Answer: C