Page 1 of 1

Calling Python Script from Rich UI Application

Posted: Wed Sep 21, 2022 3:52 pm
by mvaldman
Hello,

I am calling python script from my RPG Anonymous Program. I get an error on DB2 connect - Supplied connection object Parameter is invalid. When I run the same script using the same wrapper from my 5250 session it runs fine. My guess it has something to do with my Anonymous program running under QTMHHTTP versus "real" user profile. We are on 19.2 Profound UI and I am using Python 3.9. Any ideas on how to make it connect?

Thank you!

Max