Question 54 :

 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?

 

  1. 1
  2. Get all Questions and Answer from here
  3. You need to have paid subscription to access all questions
  4. Thanks for considering SAS Certification Material

 Correct Answer : 1

 Exp : As each input statement other than last (input age) ends with @, SAS will not advance to next raw data record. Only after age is read, SAS will finish the datastep iteration

 and read next record.

You can access to full explanation to question and answer from this page.