The following SAS program is submitted:

The purpose of FILEVAR = option on the INFILE statement is to name the variable next, whose value:
The following SAS program is submitted:
The purpose of FILEVAR = option on the INFILE statement is to name the variable next, whose value:
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.
A. Points to a new input file