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



"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 an
RFE
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 for variable
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 get the
actual data out of the second variable shown below. A specific data type
would eliminate even that.

/******************************************************************************/
/* Structure for AD Mail Address (See LDAPCS_GetEmailAddress in UTLDAPCSV)
*/
/*----------------------------------------------------------------------------*/
/* &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)
DCL VAR(&AD_MADDL) TYPE(*UINT) LEN(2) STG(*DEFINED) DEFVAR(&AD_MAIL 1
)
DCL VAR(&AD_MADDR) TYPE(*CHAR) LEN(64) STG(*DEFINED) DEFVAR(&AD_MAIL 3
)


Sincerely,

Dave Clark

As an Amazon Associate we earn from qualifying purchases.

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