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.  

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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
  • 226 views
  • 0 likes
  • 2 in conversation