500-STRING-FIELD
500-STRING-FIELD finds the beginning and ending of an input string by ignoring leading and trailing blanks; adds parentheses, a percent sign, or both, based on input parameter switches set at call; and concatenates the processed string from WS-STRFLD-IN
into WS-STRFLD-OUT
. If WS-STRFLD-IS-ALPHA
is set to Y, leading zeros are not removed. No error indication is given when the results are truncated.
Library |
STRRTNS |
Input |
|
Output |
|
Programming Example
|