05-19-2016 01:30 AM
Am trying to import excel file from 9.4 SAS Grid control node to PC File server,I tried various to import the file but the none of the code is working.Its giving so many issues.
I tried below code to import, I would really appreciate if anyone can assist me in regards to this
please send me the correct code for exporting file from PC file server to Grid control node also.
I tried all the codes given in the support websites also but none of them worked,not sure where its going wrong
PROC IMPORT DBMS=EXCELCS
OUTFILE= \tmp REPLACE;
05-19-2016 02:24 AM
Without the log, there is nothing we can do to help you.
"It does not work" provides NO clue at all about your problem(s)!
05-19-2016 12:57 PM
05-19-2016 03:39 PM
To correct the first syntax error use OUT = DatasetName not OUTFILE. = . To fix the second syntax error add OUT = .
05-19-2016 12:55 PM
I've had similar issues where we tried to SAS Import from PC to Linux. I found that the PC File Server is not very reliable.
As a workaround, First importing the file into Linux, and then importing is more reliable. I first upload the file into Linux, and then run an import code to bring into SAS:
proc import datafile="/LINUX_FILE_PATH_HERE/CREPI.csv"
out=temp.CREPI dbms=CSV replace; run;
05-19-2016 01:06 PM