The SAS data set SASUSER.HOUSES contains a variable PRICE which has been assigned a
permanent label of "Asking Price". Which SAS program temporarily replaces the label "Asking
Price" with the label "Sale Price" in the output?
A. proc print data = sasuser.houses; label price = "Sale Price"; run;
B. proc print data = sasuser.houses label; label price "Sale Price"; run;
C. proc print data = sasuser.houses label; label price = "Sale Price"; run;
D. proc print data = sasuser.houses; price = "Sale Price"; run;
The following GAS program is submitted:
set work.people (in = inemp)
work.money (in = insal);
if insal and inemp;
The SAS data set WORKPEOPLE has 5 observations, and the data set WORKMONEY has 7
observations. How many observations wil the data set WORK.EMPSALARY contain?
The following SAS program is submitted:
set work.dept1 work.dept2;
jobcode = `FA1';
length jobcode $ 8;
A character variable named JOBCODE is contained in both the WORK.DEPT1 and
WORK.DEPT2 SAS data sets. The variable JOBCODE has a length of 5 in the WORK.DEPT1
data set and a length of 7 in the WORK.DEPT2 data set. What is the length of the variable
JOBCODE in the output data set?