What will be the value of _ERROR_ in the Program Data Vector for each iteration of the DATA step?

Given the raw data file ‘DEPENDENTS.TXT’:

The following SAS program is submitted:

What will be the value of _ERROR_ in the Program Data Vector for each iteration of the DATA step?
A.

B.

C.

D.

Download Printable PDF. VALID exam to help you PASS.

2 thoughts on “What will be the value of _ERROR_ in the Program Data Vector for each iteration of the DATA step?

  1. answer A. _error_ may be eigther 0 or 1 => answers D or B cant be correct. The error is due to the type of the variable of child 3 that should be character and not numeric like in the question (there should be $ sign after Child3 like in Child1 or Child2). Child3 is present only in 1st and 4th observations, so for these observations the error will be 1. The 2nd and 3rd observations will be read without errors as there is no data values for child3 in these lines and due to missover option these observations will be read correctly, no error=>_error=0.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.