The issue that I am having is that the Export function does not work. It did all the way till this Sunday and then just stopped.
I have not changed anything, and when I checked our scheduler that runs these programs, it started to error out.
Any help is greatly appreciated.
393 PROC EXPORT DATA = WORK.DATA_WITH_TRANSIT
394 OUTFILE = '\\mishare.corp.xxxxxx.com\DavWWWRoot\sites\xxxxxx\Grains Tracking
394! Tools\DATA_WITH_TRANSIT.xls'
395 DBMS = EXCEL REPLACE;
396 SHEET = "KMDT Data";
397 RUN;
ERROR: Connect: Failure creating file.
ERROR: Error in the LIBNAME statement.
Connection Failed. See log for details.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE EXPORT used (Total process time):
real time 0.12 seconds
cpu time 0.06 seconds
PROC EXPORT DATA = WORK.DATA_WITH_TRANSIT
OUTFILE = '\\mishare.corp.xxxxxx.com\DavWWWRoot\sites\xxxxxxxxt\Grains Tracking Tools\DATA_WITH_TRANSIT.xls'
DBMS = EXCEL REPLACE;
SHEET = "KMDT Data";
RUN;
Thank you, it was just that. Somehow an _ was missing from the Sheet name KMDT Data. It should have been KMDT_Data.
Thank you again!
This is the error, the other one I posted was me just trying something and is not the correct error:
398 PROC EXPORT DATA = WORK.DATA_WITH_TRANSIT
399 OUTFILE = '\\mishare.corp.xxxxxxxx\DavWWWRoot\sites\xxxxxxxx\Grains Tracking
399! Tools\DATA_WITH_TRANSIT.xls'
400 DBMS = EXCEL REPLACE;
401 SHEET = "KMDT Data";
402 RUN;
ERROR: Connect: Failure creating file.
ERROR: Error in the LIBNAME statement.
Connection Failed. See log for details.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE EXPORT used (Total process time):
real time 0.09 seconds
cpu time 0.04 seconds
You might share the libname statement. You might have something missing like a ) or ; on the libname such that the error doesn't appear until the middle of other code.
Thank you, it was just that. Somehow an _ was missing from the Sheet name KMDT Data. It should have been KMDT_Data.
Thank you again!
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.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.