The following SAS program is submitted:
data new;
do i=1,2,3
nextfile=compress('March' || |);
infile abc filevar=nextfile
end=eof;
do until (eof);
input dept $sales;
end;
run;
What is the purpose of the FILEVAR=option on the INFILE statement?
- It names the variable NEXTFILE, whose value is output to the SAS data set NEW
- It names the variable NEXTFILE, whose values point to an aggregate storage location
- It names the variable NEXTFILE, whose value is a SAS file reference
- It names the variable NEXTFILE, whose change in value causes in INFILE statement to open a new input file
Reveal Solution Next Question