|
I have taken the callint() out and still get the same errors. Yes, I have tried it from your server I am just getting frustrated its been a long week LOL On Fri, 7 Oct 2005 15:56:06 -0500, Bob Cozzi wrote > Did you run it off of my machine? I get it to run, no problem. > So as someone suggested, the configuration must be incorrect. > Also, try taking out the call to cgiInit() just to be certain that > isn't the issue. I doubt that it is, but do it anyway. > > -Bob Cozzi > www.RPGxTools.com > RPG xTools - Enjoy programming again. > > -----Original Message----- > From: web400-bounces@xxxxxxxxxxxx [mailto:web400- > bounces@xxxxxxxxxxxx] On Behalf Of Douglas W. Palme Sent: Friday, > October 07, 2005 3:49 PM To: Web Enabling the AS400 / iSeries > Subject: RE: [WEB400] cgi issue > > Bob, > Made the corrections but I am still getting the exact same errors as > before.....My code now looks like this: > > H BNDDIR('CGILIB') > /INCLUDE XTOOLS/QCPYSRC,CGILIB > DFNAME S 10A > DSZHEADER C 'Content-type: > text/html\n\n' DSZHTML S 1000A VARYING > DNCOUNT S 10I 0 > C callp CGIINIT() > C eval SZHTML = > '<HTML><HEAD><TITLE></TITLE>' + C > '</HEAD><BODY>Hello World!</BODY></HTML>' C > C > EVAL NCOUNT = cgiStdout(SZHEADER) C > EVAL NCOUNT = cgiStdout(SZHTML) C > EVAL *INLR = *ON C > RETURN > > Same errors when I try to run it from a browser though.... > > -- > 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. > > -- > 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. If you bought, it was hauled by a truck - somewhere, sometime.
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.