Hi Everyone!!
I'm trying to assign a network driver (I: ) as a libname sas.
So I mapped a new network driver on server SAS with user and pass required but different user and pass from my user sas.
My Code:
libname out '\\f-imouthes\shared\CLIENTES\CLIENTES\CRM_II\';
i'm receiving the follow error message:
ERROR: User does not have appropriate authorization level for library OUT.
My doubt is: This error happens cause my user sas is different from user of network driver or something else?
how to correct way to put authentication data in libname statement, cause when i try i received an error:
ERROR 22-7: Invalid option name USER.
1. You probably mean network drive, not driver.
2. As far as I know, the only way to authenticate when using a UNC share (what you call network drive) is by using the net use command. Please try that to ascertain your UNC credentials.
You can see the credentials used by the SAS session by running the statement %put &=sysuserid;
Hi ChrisNZ!
Thanks for your answer!
I did some research on what you said but i got it in another way.
I select the Local Sas Server to execute my sas code that way it was possible to use the folders I wanted!
The problem to do this is that when i schedule my sas code, the default server doesn't is the Local Sas Server.
Do you know any way to choose the server during execution of my code?
Thanks!!
Does this help?
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.