INFILE and FILE are the statements that are used in SAS to generally link to raw files; that is, files that normally contain only data and no data dictionary. INFILE is used to point to input files and FILE points to output files.
What is an infile statement?
The infile statement identifies an external data file or an in-stream data from which data should be read. With the infile statement, the data is described in a way that it can be processed by SAS. When SAS encounters the statement, it opens the file and creates the needed input buffer.
What is Infile and INPUT in SAS?
The INFILE statement will define the data source, while the INPUT statement will codify the format and move the data into SAS. The INFILE Statement. An external file is identified to a DATA step and.