× 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: Problem with QtmhCvtDb API
  • From: Staffan Lofberg <staffan.lofberg@xxxxxxxxxx>
  • Date: Tue, 19 Jan 1999 10:45:37 +0100
  • Organization: Netorom AB

Brad

Are you sure that you have the field CPTITM correctly spelled in the HTML-input?

Staffan Lofberg

"Stone, Brad V (TC)" wrote:

> Hi Folks.
>
> Doing a little RPG/CGI programming and am having a problem.  I am trying to
> convert variables, but it is having problems on the last field and returning
> a status code of -4 (means: An error occurred while converting the CGI input
> string to the DDS defined data types. The data may or may not be usable).
>
> I can't find any other errors anywhere else.  The data structure gets filled
> with the info needed except for the last one.  The DS looks like this...
>
> CPDIV           3,0     Division Number
> CPSUBDIV        3,0     Subdivision Number
> CPFCAT          3,0     From Catalog
> CPTCAT  3,0     To Catalog
> CPFITM          14      From Item
> CPTITM          14      To Item
>
> The user inputs a from and to catalog, and a from and to item number.  These
> are read in with the QtmhRdStin API.  The variable string looks good, and
> everything is filled but the To Item number field on the Convert to DB.
>
> Any ideas?  Return code of -4 doesn't tell me much.
>
> Bradley V. Stone
> Taylor Corporation - OASIS Programmer/Analyst
> bvstone@taylorcorp.com
>
> +---

------------------------------------------------------------------
Netorom AB              Phone +46 40 6712272
P.O. Box 9160           Fax   +46 40 940128
S-200 39  Malmö         http://risc.netorom.se
Sweden                  mailto:staffan.lofberg@netorom.se


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

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.