(I don't fully understand chroot, but from what I can gather, it wouldseem Litmis Spaces uses it while pub400.com doesn't.)
OK, so it's established that using iDB2Call is a suitable workaround,
but for those people who are following particularly closely (yeah, I
know, it's easier to find unicorns and abominable snowmen), there's a
technical detail that I want to comment on. I had said:
On Tue, Aug 2, 2016 at 5:31 PM, John Yeung <gallium.arsenide@xxxxxxxxx>
Incidentally, if there were no errors in the returned XML, then the
icmd_rtvjoba.py script would still have problems, because it then goes
on to try to print just the four pieces of information asked for
(USRLIBL, SYSLIBL, CCSID, and OUTQ) and because dictionary keys (and
everything else in Python) is case-sensitive, the lookups would fail.
(This part I know is a python-itoolkit problem, not unique to Litmis
Spaces, and not necessarily a problem with XMLSERVICE or other
implementations of itoolkit.)
I know now that these lookups are fine. They work using the preferred
iLibCall from pub400.com and using iDB2Call from Litmis Spaces. The
dictionary keys seem to have been automatically converted to all caps
during successful "transport". But when it errors out as I've
mentioned earlier, the keys are lowercase. So I don't know if the keys
are lowercase due to the chroot-related issues; and I don't know if
the appearance of lowercase keys is a cause or an effect of the error
I was seeing.
(I don't fully understand chroot, but from what I can gather, it would
seem Litmis Spaces uses it while pub400.com doesn't.)
In any event, it looks like I can move forward with experimentation on
both systems, which I will do as time permits.
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.