By admin | September 3, 2009

SAS Certified Base Programmer 123 Questions (15)

The following SAS program is submitted:

data numrecords;
    infile 'file-specification';
    input @1 patient $15.
        relative $ 16-26 @;
    if relative = 'children' then
        input @54 diagnosis $15. @;
    else if relative = 'parents' then
        input @28 doctor $15.
            clinic $ 44-53
            @54 diagnosis $15. @;
        input age;
run;

How many raw data records are read during each iteration of the DATA step during execution?

A. 1
B. 2
C. 3
D. 4

2 comments | Add One

  1. admin - 09/3/2009 at 12:51 pm

    A

  2. Ida - 10/26/2011 at 4:46 am

    Not B?

Leave a Comment

Leave a Reply

Your email address will not be published.