10-12-2012 02:00 PM
I am trying to create a SAS routine to read in an Excel file from 32-bit system into SAS 64-bit. I can use the Import Wizard but I want to control the input variables formats so I rather use the infile statement. I can't figure out what options to use in DBMS.
10-12-2012 05:42 PM
If it is a file that you can highlight and copy to your system's clipboard, then take a look at:
10-12-2012 06:47 PM
Depending on how much control you need over the informat or format assignments your best bet may be to save the file as CSV, use the SAS import as CSV, copy the code out of the LOG window and modify the informat and format statements. Watch out for fields you want as character defaulting to numeric.