Exam A00-211 All QuestionsBrowse all questions from this exam
Question 61

Which statement specifies that records 1 through 10 are to be read from the raw data file customer.txt?

    Correct Answer: B

    To specify that records 1 through 10 are to be read from a raw data file in SAS, you use the 'obs' (observations) option with the infile statement. The correct syntax is 'infile 'customer.txt' obs=10;'. This option instructs SAS to read only up to and including the 10th record. There is no range notation like 'obs=1-10' for specifying the beginning and ending records in SAS infile statements.

Discussion
DEAWSOption: C

infile ‘customer.txt’ obs=10; correct is : C