BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
gwootton
SAS Super FREQ
You may want to try removing the authkey option from your sascfg_personal.py.

That message seems to indicate you do not have the necessary permissions to read that file.
Does the file exist and have permissions set as outlined in https://go.documentation.sas.com/api/docsets/authinfo/9.4/content/authinfo.pdf
For the server name, have you specified the value in your authkey option?
--
Greg Wootton | Principal Systems Technical Support Engineer
Santt0sh
Lapis Lazuli | Level 10
Hi Greg,

Thanks for the link, i am going through it now. I have a simple question
What should be the extension or format the auth file. Now my auth file is in _authinfo.py Should the authfile have the extension ".netrc"?
gwootton
SAS Super FREQ
Typically the authinfo file has no extension. In Windows the file is called "_authinfo" and in UNIX ".authinfo".
--
Greg Wootton | Principal Systems Technical Support Engineer
gwootton
SAS Super FREQ

I was able to get your code to work by changing

cars=sas.sasdata('cars', 'sashelp')

to 

cars=sas_session.sasdata('cars', 'sashelp')
--
Greg Wootton | Principal Systems Technical Support Engineer

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 18 replies
  • 3951 views
  • 2 likes
  • 3 in conversation