|
On Mar 28, 2016, at 9:52 AM, Michael Ryan <michaelrtr@xxxxxxxxx> wrote:
I need to occasionally debug the PHP script->i program interaction,
especially when I need to see parameters being passed or to trace logic
flow. When I run in stateful more, I'm able to use STRSRVJOB on the Toolkit
job, and then STRDBG on the program or service program. However, when I use
stateless mode, the job uses a QSQSRVR job and I don't know which one will
be used.
I was thinking I could have the PHP script send a SNDMSG command with an
*INQ so I could identify the QSQSRVR job being used. This works, but the
PHP script doesn't 'pause' and wait for the response. So then I thought I
could use SNDPGMMSG, specify a key variable, then use RCVMSG for an *INQ
type with that MSGKEY.
Anyone have any hints for this type of debugging interaction? Cross posted
to midrange and web since it has a MSG question as we as a PHP technique.
Thanks!
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
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.