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



The QCMDEXC API expect a character string, but you're passing a varying
character string.  This is similar to passing it a zoned decimal field
when it wants a packed field, etc.   Unless you use a prototype as define
it as CONST (Which I would highly recommend!!) you'll have to pass the
exact same type of variable as the API is expecting.

The reason you're getting a length error is that the first 2 bytes of a
varying field are the length.  But, the API is expecting all of the
bytes in the variable to be data...  So, the length is getting screwed up.

On Fri, 30 May 2003 fkany@xxxxxxxxxxxxxxxxxx wrote:
>
> Is there a maximum size for a program field when using the Varying keyword?
> I get an error message when the program below trys to execute the call to
> QCMDEXC in the SNDEMAIL subroutine.  The error message says something about
> how the varying length field might be too long.
>

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.