|
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....
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.