MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » October 2012

new PTF for v7.1 CL programming



fixed

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





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