%TRIM(string {: characters to trim})
%TRIM with only one parameter returns the given string
with any leading and trailing blanks removed.
%TRIM with two parameters returns the given string with
any leading and trailing characters that are in the characters
to trim parameter removed.
The string can be character, graphic, or UCS-2 data.
If the characters to trim parameter
is specified, it must be the same type as the string parameter.
When specified as a parameter for a definition specification keyword,
the string parameter must be a constant.
Note: Specifying
%TRIM with two parameters is not supported for parameters of Definition
keywords.
For more information, see String Operations or Built-in Functions.