MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » October 2012

RE: new PTF for v7.1 CL programming



fixed

It's things like this just make me shake my head. It's 2012 IBM!

-----Original Message-----
From: Anderson, Kurt [mailto:KAnderson@xxxxxxxxxxxx]
Sent: Wednesday, October 24, 2012 8:49 AM
To: Midrange Systems Technical Discussion
Subject: RE: new PTF for v7.1 CL programming

Thanks, Bryan.

Just last week I was looking for a %trim function in CL.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of bdietz400@xxxxxxxxx
Sent: Tuesday, October 23, 2012 4:58 PM
To: Midrange Systems Technical Discussion
Subject: new PTF for v7.1 CL programming

Just passing along....

PTF SI48166

Abstract:
OSP-CL-CMPL-PERFM Add support for %TRIM built-in function

APAR Error Description / Circumvention
-------------------------------------------------
The limitation of one string operation built-in function, %SUBSTRING, in CL forces application developers to spend time and effort on workarounds when manipulating character strings in CL programs and CL procedures.

CORRECTION FOR APAR 'SE53451' :
-------------------------------
The original CL compiler and the ILE CL compiler will provide support for the following additional string operation built-in
functions:
%TRIM - Trim Characters at Edges
%TRIML - Trim Leading Characters
%TRIMR - Trim Trailing Characters
All of these CL built-in functions will have almost the same behavior as the RPG built-in functions by the same name. The CL function names were chosen to be the same as RPG to make the CL built-in functions as easy and intuitive for RPG application developers to use as possible.

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






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact