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