"What the extension of excel file" - File extensions tell the operating system and other tools what the file is. It doesn't necessarily need to match the file type, however it really isn't very good if it doesn't. Excel has a few different file extensions, XLS is the old binary file format, XLSX is the new Open Office file format. CSV is not an Excel file format, it is plain text with data delimited by comma's, Excel can however read an parse this file type.
"How convert to sas" - this depends on several factors. What exactly is the file type you are trying to import, is it a CSV file?
"And dbms value" - DBMS value indicates to SAS what type of file you are trying to import. Again, I do not know what you have, is it a CSV file, is it an XLSX file?
If its a csv file then:
proc import datafile="/home/naveence0/food2.csv" out=indata dbms=csv replace;
run;
... View more