Ah... my CGILIB *SRVPGM (in xTools) that mimics what CGIDEV2 does always outputs a valid HTTP head if the user did not send one themselves. CGIDEV2 does NOT do this, but it is required under Apache. Does your erpgsdk do this or are you actually sending the header? Perhaps the header isn't being sent?? -Bob Cozzi www.RPGxTools.com RPG xTools - Enjoy programming again. -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Brad Stone Sent: Tuesday, April 04, 2006 6:58 PM To: Web Enabling the AS400 / iSeries Subject: [WEB400] Another SSI issue. So, I've got another SSI issue. This one SSI doesn't seem to want to work on one V5R2 machine, but it works fine on another V5R2 machine. (go figure). I searched the online PTFs and didn't find anything specific. QP0ZPUTENVCCSID OF NETC FAILED WITH ERRNO 3021 FOR CGI /QSYS.LIB/ERPGSDK.LIB/CAT0002.PGM, referer: /e-rpg/catmain ZSRV_MSG0107: Premature end of script headers: File name is CAT0002.PGM, referer: /e-rpg/catmain ZSRV_MSG0412: Unable to include "/e-rpg/cat0002?cat=100&" in parsed file /QSYS.LIB/ERPGSDK.LIB/CATMAIN.PGM., referer: /e-rpg/catmain Usually when I get this error it's because of an issue with the HTTP headers not having 2 CRLFs, etc. In this case they're there for sure, and it works fine on one V5R2 machine, but not on another. Other SSIs work fine. It's just this one SSI, so I'm guessing maybe it is a bug in the program as it seems it's the only one with the issue.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.