BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
bentleyj1
Quartz | Level 8

I have a program that has been running just fine under Win7 for a few years.  Now I've got a new box with Win10 on it and it broke.

 

The program %INCLUDEs other SAS programs stored on network drives.  We have to use Universal Naming Convention file names because users in different departments have their network drives mapped differently.  This particular program works just fine under Win7 (really, it does, I swear) but under Win 10 it returns the file doesn't exist error.

 

I tried googling it but the blogs and web sites that might be useful are blocked. 

 

Does anyone have any experience with Win10 including UNC file names?  

 

269  %include "\\WFSIADMNSF21\C_MTGBCD_Groups\Campaign_Execution_Reporting\sas_execution\templates\ SAS_teradata_&_environment._Template\code\sas_cef_template_005_pre_setup_checks.sas" /source;


WARNING: Physical file does not exist, \\WFSIADMNSF21\C_MTGBCD_Groups\Campaign_Execution_Reporting\ sas_execution\templates\SAS_teradata_development_Template\code\sas_cef_template_005_pre_setup_checks.sas.

 

ERROR: Cannot open %INCLUDE file \\WFSIADMNSF21\C_MTGBCD_Groups\Campaign_Execution_Reporting\sas_execution\templates\SAS_teradata_development_Template\code\sas_cef_template_005_pre_setup_checks.sas.
270

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

Is all of this on a local Windows machine, or are you accessing via a client like SAS Enterprise Guide?  If the latter, then you need to set "Trusted for Delegation" on the Windows box.  This will allow Windows to make the additional network hop on behalf of your program.

 

If that's not it -- are you running the SAS job with your native Windows credentials, or is it running under another identity that might not have network access?

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

View solution in original post

3 REPLIES 3
ChrisHemedinger
Community Manager

Is all of this on a local Windows machine, or are you accessing via a client like SAS Enterprise Guide?  If the latter, then you need to set "Trusted for Delegation" on the Windows box.  This will allow Windows to make the additional network hop on behalf of your program.

 

If that's not it -- are you running the SAS job with your native Windows credentials, or is it running under another identity that might not have network access?

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
bentleyj1
Quartz | Level 8

Thanks Chris and SASKiwi.  The app switches to a non-user id that didn't have access to the network location I needed to use.  Got it fixed.

 

John

SASKiwi
PROC Star

Try the UNC path in Windows Explorer. You may need to get your IT folks involved in fixing this.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1419 views
  • 1 like
  • 3 in conversation