× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Jim,

That's what I had to do (change the binding directories & recompile).  None
of my rpg cgi programs would work.  Maybe there is a better way but I didn't
have the luxury of time to find out.

And it isn't just the getenv api - I found the problem with the QtmhStout
api.

Phil

> -----Original Message-----
> From: web400-admin@midrange.com [mailto:web400-admin@midrange.com]On
> Behalf Of Jim Franz
> Sent: Saturday, February 09, 2002 11:49 AM
> To: web400@midrange.com
> Subject: Re: [WEB400] HTTP 500-more
>
>
> i went to the ibm link and am concerned.
> is it saying any attempt to get environment on a V5R1 machine has
> to change
> it's code/recompile?
> this is the details of the link.
> <quote>
> DESCRIPTION OF PROBLEM FIXED FOR APAR SE01114 :
> -----------------------------------------------
>   Using the api QtmhGetEnv fails on apache and original web server
>   Joblog says CPF0C1F - Product information not found.
>
> CORRECTION FOR APAR SE01114 :
> -----------------------------
>   The QTMHCGI module has been changed to look for product 5722DG1
>   being installed, instead of 5769DG1 product. QTMHCGI will now
>   look for its message text in the QTCP library, instead of using
>   the library list defined for the system.
>
> CIRCUMVENTION FOR APAR SE01114 :
> --------------------------------
>   Link to the QZHBCGI service program, rather than QTMHCGI.
>  <end quote>
> jim
>
>
>
> ----- Original Message -----
> From: "Phil Groschwitz" <phil@groschwitz.com>
> To: <web400@midrange.com>
> Sent: Saturday, February 09, 2002 10:53 AM
> Subject: RE: [WEB400] HTTP 500
>
>
> > 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.
> > >
> > >
> >
> > _______________________________________________
> > 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.
> >
> >
>
>
> _______________________________________________
> 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 ...

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.