|
Having a bad day Charles? :)characters.
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
list
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
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 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.