|
I am confident your suspicion about SQL server mode is correct. I've
come across it myself with iSeriesPython.
How I've come to cope with it is to always submit a new job to run
Python. I mean, from the 5250, interactive use is pretty crappy
anyway, so I've tailored both my Python scripts and my own workflow
habits to be centered around SBMJOB.
You may want to make a generic wrapper which you always use for all
your Python calls, and have that wrapper handle everything that's
needed, including submitting a new job. (For me, that also includes
setting ALWMLTTHD(*YES).)
John Y.
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/opensource.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.