I was introduced to the INFILE statement’s FILEVAR parameter recently. It seems it’s a great way to read multiple files into a DATA step. Hitherto I had tended to use a widlcard in the FILEREF.
To read multiple files with similar names, you can simply…