× 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.


  • Subject: RE: QtmhCvtDb difficulty
  • From: "Stone, Brad V (TC)" <bvstone@xxxxxxxxxxxxxx>
  • Date: Fri, 7 Jan 2000 08:25:25 -0600

Joe,

Tehe API was working fine.  You just weren't passing the right info to your
QtmhRdStin API.  You need to pass the value of the CONTENT_LENGTH enviroment
variable for the size of the data.  These two go hand-in-hand.  When you
don't do this correctly, the results will be as you experienced.  Losing the
last field's data.

Sure, making a dummy field is easier, but it's incorrect.

Bradley V. Stone
BVS/Tools - www.bvstools.com
Netshare400 - www.netshare400.com



> -----Original Message-----
> From: Joe Teff [mailto:joeteff@earthlink.net]
> Sent: Thursday, January 06, 2000 6:27 PM
> To: MIDRANGE-L@midrange.com
> Subject: Re: QtmhCvtDb difficulty
> 
> 
> for a while I had to add a "garbage" field at the end of my form. I
> called it DUMMY on each form. The problem was that the CvtDb 
> API didn't
> handle the last field correctly. By adding a unused, hidden 
> field to the
> bottom of the form; this field is the one that gets mishandled. Not a
> glamorous fix but a highly effective one! This may help, may not.
> 
> Joe Teff
> 
> 
> brian wrote:
> > 
> > I'm trying to create a simple CGI in RPGLE that retrieves 
> form data, makes
> > decisions, and does a little something.  After QtmhRdStin, RcvDta is
> > populated with unparsed data like 
> truck=blah&message=blah+blah.  It is the
> > QtmhCvtDb phase that seems to be failing.  No errors are 
> generated - it just
> > doesn't fill the externally described data structure with 
> useful values.
> > I'm V4R3.  I'm beginning to wonder if I need a PTF.  If 
> someone has a simple
> > retrieve-data-from-a-form RPG example, I would love to see it.
> > 
> > Thank you.
> > 
> > -brian
> > 
> > +---
> > | This is the Midrange System Mailing List!
> > | To submit a new message, send your mail to 
> MIDRANGE-L@midrange.com.
> > | To subscribe to this list send email to 
> MIDRANGE-L-SUB@midrange.com.
> > | To unsubscribe from this list send email to 
> MIDRANGE-L-UNSUB@midrange.com.
> > | Questions should be directed to the list owner/operator: 
> david@midrange.com
> > +---
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to 
> MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: 
> david@midrange.com
> +---
> 
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.