Given the SAS data set PEPM.STUDENTS:PERM.STUDENTS NAME AGE ---------- ------ Alfred 14Alice13 -Barbara13 -Carol14 -The following SAS program is submitted:libname perm SAS data library;data students;set perm.students;file file specification;put name $15. @5 age 2.;run;What is written to the output raw data file?
The following SAS program is submitted:data work.total;set work.salary(keep = department wagerate);by department;if first.departmentthen payroll = 0;payroll + wagerate;if last.departmentrun;The SAS data set WORK.SALARY, currently ordered by DEPARTMENT, contains 100 observations for each of 5 departments.What is the result?
The following SAS program is submitted;data combine;country = Italy, Russia, ireland;found = find(country, i);run;What is the value of the variable FOUND in the output data set?
Given the following code:proc print data=SASHELP.CLASS(firstobs=5 obs=15);where Sex='M';run;How many observations will be displayed?
The SAS data set named WORK.SALARY contains 10 observations for each department, and is currently ordered by Department. The following SAS program is submitted:Which statement is true?
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?