Hello Friends,
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
DATA= 'D:\pcfile\Demo.xls’
OUTFILE= \tmp REPLACE;
PORT=xxxx;
SERVER='xxxxxxxxxx';
SHEET='yoursheet';
RUN;
Thank you
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)!
To correct the first syntax error use OUT = DatasetName not OUTFILE. = . To fix the second syntax error add OUT = .
Hello,
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;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.