BookmarkSubscribeRSS Feed
Pelumi
Calcite | Level 5

I'm trying to connect python to SAS in order to insert data into a SAS table. but i'm getting the following error:

Using SAS Config named: winiomwin We failed in getConnection The application could not log on to the server "xxxxxxxxx.xxxxxxx.xxxxx1.xxxx.xx:xxxx". The user ID "<oladokun>" or the password is incorrect. SAS process has terminated unexpectedly. RC from wait was: 4294967290

 

I have saved "-authinfo" file without extension user's home directory with the following information

AKEY user <xxx....> password <xxx....>

 

I also have sascfg_personal.py file saved

SAS_config_names=['winiomwin']
winiomwin = {'java' : 'java',
'iomhost' : 'xxxxxxxxx.xxxxxxx.xxxxx1.xxxx.xx:xxxx',
'iomport' : 8561,
'encoding' : 'utf-8',
'authkey' : 'AKEY'
}

 

Can you please help understand the problem and a solution. Thank you

1 REPLY 1
sastpw
SAS Employee

It looks like the port you provided would be for the Metadata Server, not the Workspace server. Make sure the IOMHOST is correct for the Object Spawner that launches the Workspace server you're trying connect to, and use the IOMPORT configured for Workspace Server for that Object Spawner.  

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1 reply
  • 261 views
  • 0 likes
  • 2 in conversation