By admin | September 14, 2009

SAS Certified Base Programmer 123 Questions (45)

The following SAS program is submitted:

data work.test;
    array agent{4} $ 12 sales1 - sales4;
run;

Which one of the following represents the variables that are contained in the output data set?

A. SALES1, SALES2, SALES3, SALES4
B. AGENTS1, AGENTS2, AGENTS3, AGENTS4
C. None, the DATA step fails because the ARRAY statement can reference only numeric data.
D. None, the DATA step fails because the ARRAY statement can reference only pre-existing variables.

One comment | Add One

  1. admin - 09/14/2009 at 1:19 pm

    A

Leave a Comment

Leave a Reply

Your email address will not be published.