Home Forums Base SAS Certification Questions BASE CERTIFICATION Q8:- Input, Put, File, Infile Statement

This topic contains 0 replies, has 1 voice, and was last updated by  blogger rajeev 1 year, 1 month ago.

Viewing 1 post (of 1 total)
  • Author
  • #143

    blogger rajeev

    The contents of the raw data file TEAM are listed below:

    Janice 10
    Henri 11
    Michael 11
    Susan 12

    The following SAS program is submitted:

    data group;
    infile ‘team’;
    input name $15. age 2.;
    file ‘file-specification’;
    put name $15. +5 age 2.;

    Which one of the following describes the output created?

    A. a raw data file only
    B. a SAS data set named GROUP only
    C. a SAS data set named GROUP and a raw data file
    D. No output is generated as the program fails to execute due to errors.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.