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



Look at the definition of the PARM, in the VARY parameter - see *INT4 - that is a 4-byte integer, and that is where this comes from.

Check out the help text for PARM.

You probably would be well to make that *INT2.

Cheers
Vern

On 4/29/2019 10:35 AM, dlclark@xxxxxxxxxxxxxxxx wrote:
"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> wrote on 04/26/2019
04:54:18 PM:
Hi,
I have a Command that is Calling a C program where one of the parameters
contains a variable parameter (see below). I have examined the input
(argv[n]) field in my program and it appears that 2 integers preceded
the
data. The first appears to be some type of offset and the second is the
length of the entered data. I only expected the second integer.

Does anyone have any idea what the first is used for? It does not
contain
the defined parameter length or the offset from the beginning of the
argv[]
list.

PARM KWD(MONPATH) TYPE(*CHAR) LEN(128) MIN(1) ALWUNPRT(*NO) +
ALWVAR(*YES) VARY(*YES *INT4)

Are you saying there are two 4-byte integers on the beginning? If
so, I've never seen that before. When you figure it out, I'd like to hear
the explanation for it. Thanks.


Sincerely,

Dave Clark


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.