By admin | August 9, 2009

SAS Certified Base Programmer 50 Questions (35)

The contents of the SAS data set Sasdata.Group are listed below.

name   age
Janice  10
Henri   11
Michele 11
Susan   12

The following SAS program is submitted using the Sasdata.Group data set as input:

libname sasdata 'SAS-data-library';
data group;
    set sasdata.group;
    file 'file-specification';
    put name $15. @5 age 2.;
run;

Which one of the following describes the output created?

a. a raw data file only
b. a SAS data set named Group only
c. both a SAS data set named Group and a raw data file
d. The program fails execution due to errors.

2 comments | Add One

  1. admin - 08/9/2009 at 8:30 pm

    C

  2. Yogesh - 10/18/2012 at 6:23 am

    can you explain

Leave a Comment

Leave a Reply

Your email address will not be published.