A00-211 - SAS Base Programming for SAS 9
Go back to
Which is a valid LIBNAME statement?
libname sasdata "_SAS_data_library_location_";
A user-defined format has been created using the FORMAT procedure. How is it stored?
in a SAS catalog
The Excel workbook REGIONS.XLS contains the following four worksheets: EAST WEST NORTH SOUTH The following program is submitted: libname MYXLS 'regions.xls'; Which PROC PRINT step correctly displays the NORTH worksheet?
proc print data=MYXLS.'NORTH$'n; run;
Which step displays a listing of all the data sets in the WORK library?
proc contents data=WORK._all_; run;
Which step sorts the observations of a permanent SAS data set by two variables and stores the sorted observations in a temporary SAS data set?
proc sort data=SASUSER.EMPLOYEES out=EMPSORT; by Lname Fname; run;
Which statement specifies that records 1 through 10 are to be read from the raw data file customer.txt?
infile 'customer.txt' obs=10;
Which statement is true concerning the SAS automatic variable _ERROR_?
It is automatically dropped.
The Excel workbook QTR1.XLS contains the followingthree worksheets: JAN FEB MAR. Which statement correctly assigns a library reference to the Excel workbook?
libname qtrdata 'qtr1.xls';
Which of the following choices is an unacceptable ODS destination for producing output that can be viewed in Microsoft Excel?
Which statement describes a characteristic of the SAS automatic variable _ERROR_?
The _ERROR_ variable can only be used in expressionsin the DATA step.