Question 24: Given the SAS data set PERM.STUDENTS:
PERM.STUDENTS NAME AGE
---------------- Allen 14
Alina 13
Babita 13
Kavel 14
The following SAS program is submitted:
libname perm `SAS data library';
data students;
set perm.students;
file `file specification';
put name $ age;
(insert statement here)
run;
The following double-spaced file is desired as output
Allen 14
Alina 13
Babita 13
Kavel 14
Which statement completes the program and creates the desired file?
- put
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering SAS Certification Material
Correct Answer : 1
Exp : Put statement : Writes lines to the SAS log, to the SAS output window, or to an external location that is specified in the most recent FILE statement.
You can access to full explanation to question and answer from this page.