KB Article #71809

Add or Wipe trailing blank chars from a CFT variable

Problem

Add or Wipe trailing blank chars from a CFT variable


Resolution

All variables can be used with the length truncation indication



I:E: Variable &IDF



&IDF is the full transfer IDF
&8IDF is the first 8 chars from the transfer IDF



When in that example the IDF is less than 8 chars, trailing chars are added to pad the length to 8



To avoid having those trailing chars added, following notation can be used:
&:8IDF
It will remove trailing blank if any.