Here are what my routing request look like....

       5  Exec  /cgi-bin/*  /qsys.lib/cgilive.lib/*.pgm    %%EBCDIC%%
       6  Map  /*  /rtekweb/*
       7  Pass  /rtekweb/*


CGILIVE is my production library on the 400 and rtekweb is a file in the IFS
were the static HTML documents are stored.

----- Original Message -----
From: "Diane Nott" <dnott@lorainccc.edu>
To: <web400@midrange.com>
Sent: Wednesday, May 08, 2002 12:16 PM
Subject: [WEB400] Re: Cobol CGI


> Hi! I am not sure about the routing request Statements. What are they? And
Yes,
> this is the first Cobol CGI I tried to run. I used some sample RPG CGI
programs
> and they compiled and went to the screen fine. I am more familiar with
Cobol
> than RPG. I hope you can help.
> Diane
>
> Date: Wed, 08 May 2002 08:54:46 -0500
> From: Justin Houchin <jhouchin9@charter.net>
>
> Diane,
>  I have not programmed in COBOL before, but
> do have your routing request statements setup up correctly?
> Is this the first CGI program that you have tried to run?
>
> Justin Houchin
> Programmer
> Reliatek, Inc
> jhouchin9@charter.net
>
> ----- Original Message -----
> From: "Diane Nott" <dnott@lorainccc.edu>
> Sent: Wednesday, May 08, 2002 8:50 AM
> Subject: [WEB400] cobol cgi
>
>
> > Hi! I hope you  can help me. Here is my problem.
>
> > I have a cobol program that uses 2 Params. I input the Year and term and
>  then prints a report. It works just fine on the green screen and prints
to
>  the printer fine. Now I want it to input the params from the web browser
>  screen and show the report on the browser screen. I tried to code in what
I
> learned
> from "Cobol Meets the Web" class. It doesn't seem to be working.
>  I use: http://lccc/tcgi-bin/CGICOBOL
>  Then I get the error message:
>
>  Error 500
>
>  Bad script request -- script '/QSYS.LIB/DIANE.LIB/CGICOBOL.PGM' not
>  found or not executable
>
>  'DIANE' is my current library. I am also using the Code 400 program
>  also. I  think I compiled it right. Any suggestions??
>
> > Thanks!
> > Diane Nott
> > LCCC
>
> _______________________________________________
> 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.