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?

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

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?

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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