The INFILE statement is used for text files (and similar). The IMPORT procedure is used for a number of other data structures that SAS cannot read directly through one of its library engines. To see which applies to which, read the documentation for the INFILE statement, the IMPORT procedure, and LIBNAME engine.
Ready to join fellow brilliant minds for the SAS Hackathon?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.