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



Yeah, I was referring to the "A character string as long as 5000 characters" rather than your "ditch CL" stance, but I get you other point :)


----- Original Message ----- From: "Charles Wilt" <charles.wilt@xxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Thursday, June 30, 2011 4:13 PM
Subject: Re: CL calling RPG with Varying Parm


Not really...guess I just never realized CL was limited like that...

Personally, I'd would have stuck with integer! :) Bigger number, less
space, and faster...what more could you want?

If the OP can change the RPG, that's a way I would consider.

Charles

On Thu, Jun 30, 2011 at 4:03 PM, Crispin Bates <cbates@xxxxxxxxxxx> wrote:
Having a bad day Charles? :)

The maximum lengths for each of the five types are:

Decimal -- 15 digits, 9 decimal positions

Character -- 32767 bytes
Note: The initial value (specified for the VALUE
parameter)
of a CL variable can be no greater than 5000 characters.

Logical -- 1 byte

Integer -- 4 bytes

Unsigned integer -- 4 bytes



----- Original Message -----
From: "Charles Wilt" <charles.wilt@xxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Thursday, June 30, 2011 3:49 PM
Subject: Re: CL calling RPG with Varying Parm


Ok...my bad...

v The CL variable value must be one of the following: – A character
string as long as 5000 characters. – A packed decimal value totaling
up to 15 digits with as many as 9 decimal positions.

Either ditch CL or define it as char and set the hex value to the
packed value...

Charles


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.





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.