A00-212 Exam QuestionsBrowse all questions from this exam

A00-212 Exam - Question 29


The following SAS program is submitted:

The purpose of FILEVAR = option on the INFILE statement is to name the variable next, whose value:

Show Answer
Correct Answer: AD

In the given SAS program, the FILEVAR= option in the INFILE statement is used to name a variable whose value points to the name of the next input file to be read. The do-loop constructs the name of the file dynamically by concatenating the string 'March' with the loop index (i) and assigns it to the variable 'Next'. This way, 'Next' is pointing to a new input file each time through the loop. So, the purpose of FILEVAR= option is to point to a new input file.

Discussion

1 comment
Sign in to comment
numanigerioOption: A
Apr 2, 2019

A. Points to a new input file