|
Job user for a CGI program is QTMHHTP1, not QTMHHTTP. Even with the UserID
directive used, I think it would remain as QTMHHTP1, although the Current
User would be the specified value.
The subsystem in which the job is running would certainly be QHTTPSVR.
Also, as an absolute confirmation, you could use QWVRCSTK to go back up the
library list to find out what program called your CGI program and determine
if it's the appropriate CGI module (I forget what it's called - I think
it's QTMHCGI).
In fact, Jon, you could probably have a simple procedure called isWebJob()
which calls QWVRCSTK and then determines the *first* procedure in the call
stack, to see if it's QTMHCGI. Easy enough to do, and return a boolean...
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.