|
from: Jack Woehr <jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx>
subject: Re: UNIXCMD & unexplained stdout messages
On Thu, Mar 11, 2021 at 11:24 AM Justin Taylor <jtaylor.0ab@xxxxxxxxx>
wrote:
It's intermittent, and I've never been able to replicate (even with
identical inputs).
I'm sure you're right about that. Nonetheless, what I wrote
*Error found searching for command FontBold* strongly suggests some textis
being interpreted as a command.
is still true. Some output of something, for whatever reason, is getting
into the character stream of your command and the command interpreter is
searching for FontBold as if it were a command.
The way I'd determine what's happening is what we call "printf debugging":
making sure all the inputs and outputs get written to some file you create
in the IFS.
I can see what PASE and/or whatever shell is trying to execute your
commands is telling you quite clearly.
How crunchy ol' RPG interacts with PASE and the various shells is still
somewhat mysterious to me.
If possible, life is always simpler if you can convert an IFS/PASE workflow
to a Python script and call the script with params generated by your RPG
than trying to orchestrate everything directly from within RPG code.
--
Jack Woehr, IBM Champion 2021
<
https://www.youracclaim.com/badges/528d23d6-087f-4698-8d17-d59688106ac4/public_url
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021
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.