By admin | October 13, 2009

SAS Certified Base Programmer 123 Questions (120)

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

----|----10---|----20---|----30
$1,234

The following SAS program is submitted:

data test;
    infile'amount';
    input @1 salary 6.;
run;

Which one of the following is the value of the SALARY variable?

A. 1234
B. 1,234
C. $1,234
D. . (missing numeric value)

3 comments | Add One

  1. admin - 10/13/2009 at 2:03 pm

    D

  2. nil - 02/22/2011 at 8:34 am

    plz explain

  3. Aleksandra - 04/6/2011 at 12:25 pm

    Variable Salary is a nonstandard numeric data. Proper way to read a numeric data with dollar sign is to use informat commaw.d

Leave a Comment

Leave a Reply

Your email address will not be published.