× 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: API Help
  • From: "Quazy" <quazy@xxxxxxxxxxxx>
  • Date: Thu, 27 Jul 2000 19:50:49 -0500

How do you make a Binary variable in CL? 
I tried the length to match the variable and the actual number supposedly returned (231 characters and I get "Length of the receiver variable is not valid."  if I make it 9999 then I get the first 150 characters. 
 
 
----- Original Message -----
Sent: Thursday, July 27, 2000 6:00 PM
Subject: Re: API Help

From: Quazy
 
I am trying to use API Q1ARTVMED.  
 
It has 5 parameters
 
1 receiver variable
2 length of receiver
3 format name
4 control Value information
5 Error code.
 
for Error code it tells me to look in the System Programmers Interface Reference   Where on earth can you find this book? I looked in all the online books and could find nothing.  
 
also I don't know what to put in the length of receiver.
 
===> make Error code a BINARY(4) variable with value 0, then you tell that don't want to handle the error.
The length of the receiver is the number of bytes available in the receiver variable, so if the
receiver variable is CHAR(200), the length is 200.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.