In a regular CLP, you can do RTVJOBA USRLIBL(&MYVAR) to load MYVAR
with an array of library names. As the help indicates, each library
name will be left-justified in an (implied) 11-character field, thus
ensuring that each name has at least one blank space separating it
from the next.
Well, that's not what happens when I use XMLSERVICE via python-itoolkit.
This is what I get (printing 50 characters at a time):
It's no big deal if there is trimming going on at the very end of the
whole string (after QGPL), but the fact that TSTDTA is sitting in
effectively a 10-character field, and especially that MLCTRL is
effectively in a 7-char field, is kind of scary to me. How do I know
that I can count on always having at least one blank space between
names, with no names cut off, overlapping, or joined together?
If there's ALWAYS, ALWAYS, ALWAYS at least one space to separate the
names, then it's fine. Python's split() method is tailor-made for
that. But I'm not very confident that this is always the case.
This mailing list archive is Copyright 1997-2020 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