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
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?
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?
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
Try the UNC path in Windows Explorer. You may need to get your IT folks involved in fixing this.
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!
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.