× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Vernon,

Maybe he's using this article by Jan Jørgensen, DK:

MC Press Online > Publications >MC TNT Tips 'n Tirades >
May 12, 2006 > TechTip: Debugging CGI Programs

Both Apache Web server and the original AS/400 HTTP Web server.

Best regards,
Leif

----- Original Message ----- 
From: "Vernon Hamberg" <vhamberg@xxxxxxxxxxx>
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Sent: 21. oktober 2006 16:34
Subject: Re: <<< Help debugging an RPG-CGI Program >>>


Peter - do I assume correctly that you know how to use debug with 
your CGI program?

At 03:21 PM 10/20/2006, you wrote:

Hi list:

My BIG issue here is on the calculations, but let me present the scenario.

Background
This program was working perfectly before we had our High Availability
Project and now we have a test box and a production box.  We use ALDON
LM(i) to maintain our programs.  Two days ago we had to update the source
and eliminate an obsolete file and add the new one.  Looked like a simple
task to do.  We compiled and promoted to production.  By the way, the
binding directory is called CGIBNDDIR in QGPL and it has QTMHCGI *SRVPGM
from QTCP library.

Objective of the program
This is supposed to list manufacturing detail data on the browser,
depending on the manufacturing order number that is coming from a previous
screen.

Issue
The variable below called "EnvDataLen" is returning a zero.  I know this
because if it was not zero, I would have data displayed on the browser. As
I explained before, it was working before.  I do not why is not working.

See the following specifications:

-- 
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.






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.