|
"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 09/11/2017
08:24:17 PM:
Just tossing a trial balloon out here. Would there be support for anRFE
asking for variable-length fields in CL? Like a varchar data type?
There is already support for it -- but not an explicit data type
(if that is what you mean). What I mean is there is support forvariable
character definitions without having to use %BIN to build or use them.The
following is an example. But, yes, you still have to use %SST to getthe
actual data out of the second variable shown below. A specific datatype
would eliminate even that./******************************************************************************/
/* Structure for AD Mail Address (See LDAPCS_GetEmailAddress inUTLDAPCSV) */
/*----------------------------------------------------------------------------*/
/* &AD_MADDL is the length of the Active Directory Mail Address; and, *//******************************************************************************/
/* &AD_MADDR is the returned Active Directory Mail Address. */
DCL VAR(&AD_MAIL) TYPE(*CHAR) LEN(66)1)
DCL VAR(&AD_MADDL) TYPE(*UINT) LEN(2) STG(*DEFINED) DEFVAR(&AD_MAIL
DCL VAR(&AD_MADDR) TYPE(*CHAR) LEN(64) STG(*DEFINED) DEFVAR(&AD_MAIL3)
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.