|
When you compiled the program, did you specify the library QZBHCGI is inor did you use *LIBL? If you used *LIBL, you need to make sure that the
Behalf Of Rich Loeber
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Sent: Wednesday, September 24, 2008 1:58 PM--------------------------------------------------------------------------
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Using COBOL for CGI Programming
Matt,
It is set to *PUBLIC *USE.
Rich
it?
Haas, Matt (CL Tech Sv) wrote:
Did you check the authority on QZBHCGI to make sure that QTMHHTP1 can use
Behalf Of Rich Loeber
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Sent: Wednesday, September 24, 2008 1:43 PMBut,
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Using COBOL for CGI Programming
I've been playing with using COBOL to develop a CGI application, but I
keep hitting a stone wall. I have a simple test program to create a
"Hello World" scenario and by all indications it should be working.
when I run it, I get the following joblog entries in the Apache serverAPACHEDFT
job:
MCH0601 Escape 40 09/24/08 13:31:07.277816
QZHBCGI CGILIB *STMT QZHBCGI CGILIB *STMT
From user . . . . . . . . . :
QTMHHTP1
From module . . . . . . . . :
QZHBCGI
From procedure . . . . . . :
QtmhWrStout
Statement . . . . . . . . . :
81
To module . . . . . . . . . :
QZHBCGI
To procedure . . . . . . . :
QtmhWrStout
Statement . . . . . . . . . :
81
Message . . . . : Space offset
X'0006D000' or X'0000000000000000' is outside
current limit for object
QTMHHTTP 366722.tried
Cause . . . . . : A program
to set a space pointer or use storagean
outside a space, or tried to use
unallocated page in teraspace. The spaceOffset
class is X'03'. The space class
designates the type of space: 00-primary
associated space (includes space
objects). 01-secondary associated space 0.
02-implicit process space for
automatic storage. 03-implicit process space
for static storage in activation
group mark X'00000015'. 04-implicit process
space for heap identifier
X'00000000' in activation group mark X'00000015'.
05-constant space. 06-space for
handle-based heap identifier X'00000000'.
07-teraspace offset
X'0000000000000000'. 08-teraspace for OS/400 PASE memory
address X'0000000000000000'.
X'0006D000' only applies to storagethe
outside teraspace.
X'8000000000000000D03CBE5648001000' is a pointer to the
teraspace page or the start of
implicit process space for theprogram
allocation.
CPI93CA Information 20 09/24/08 13:31:07.343624
QPDLOGER QSYS 0252 QZHBCGI CGILIB *STMT
From user . . . . . . . . . :
QTMHHTP1
To module . . . . . . . . . :
QZHBCGI
To procedure . . . . . . . :
qzhbcgi_ExceptionHandler__FP21_INTRPT_Hndlr_Pa
rms_T
Statement . . . . . . . . . :
41
Message . . . . : Suspected
QZHBCGI not found.Change
Cause . . . . . : The suspected
program QZHBCGI was not found. The reported
error was logged, with the
reporting program specified as the suspected
program. Recovery . . . :
the suspected program name to anin
existing program
name.
CPF2105 Information 40 09/24/08 13:31:07.428600
QPDSERR QSYS 0BA4 QPDLOGER QSYS 008A
From user . . . . . . . . . :
QTMHHTP1
Message . . . . : Object QZHBCGI
*LIBL type *PGM not found.and
Cause . . . . . : No object was
found for the name or type specified.
Recovery . . . : Specify the
correct name or type of the object. Then try
the request
again.
The QZHBCGI program is not a *PGM object but rather a *SRVPGM object
it is, in fact, in the correct library. The program has beensuccessfully
bound with this program reference.things
I've searched the archives and Google and see some hints at several
that this might be, but all attempts to resolve this have failed.output
Has anyone successfully created a COBOL CGI program? And, what's your
secret? All I'm doing is issuing a procedure call to the standard
routine.
Rich Loeber
Kisco Information Systems
http://www.kisco.com
--
This is the Web Enabling the AS400 / 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.