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
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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: