I found the cause of the problem:  I had QTMHCGI *SRVPGM bound to the
program and it needs to be changed to QZHBCGI in V5R1.

Here's the link:

http://www-912.ibm.com/supporthome.nsf/document/24825731

Phil

> -----Original Message-----
> From: web400-admin@midrange.com [mailto:web400-admin@midrange.com]On
> Behalf Of Phil Groschwitz
> Sent: Friday, February 08, 2002 10:42 PM
> To: web400@midrange.com
> Subject: [WEB400] HTTP 500
>
>
> All,
>
> I have a cgi pgm in RPG that is getting an HTTP 500 error when calling the
> QtmhWrStout api.
>
> I started the http server in verbose mode and the log says:
>
> ERROR 500:  ** Bad script request -- script
> '/QSYS.LIB/CGIBIN.LIB/bkeml01.PGM' not found or not executable
>
> but it did execute - I stepped through it in debug.
>
> This as/400 is at V5R1.  This same pgm worked on V4R5.
>
> Anyone have any ideas?
>
> Thanks,
>
> Phil
>
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
> To post a message email: WEB400@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/web400
> or email: WEB400-request@midrange.com
> 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 thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.