I am running SASPY using these instructions:https://www.listendata.com/2021/01/run-sas-in-python-without-installation.html
Here is my Python code:
import saspy,os
import pandas as pd
import pyreadstat
sas = saspy.SASsession(java='C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe',
iomhost = ['odaws01-usw2.oda.sas.com','odaws02-usw2.oda.sas.com','odaws03-usw2.oda.sas.com','odaws04-usw2.oda.sas.com'],
iomport=8591, encoding='utf-8')
sas
Everything is working fine, SAS connection gets established, but then it automatically terminates right away, and there is no error message. It looks like this ('XXX' stands for my user id and password):
Please enter the OMR user id: XXX
Please enter the password for OMR user :XXX
SAS Connection established. Subprocess id is 12412
SAS Connection terminated. Subprocess id was 12412
If anyone has ever encountered and resolved this issue, please let me know - I would greatly appreciate it!