AS400 CLP Using CAT/BCAT/TCAT
Combining the two character variables on the AS400 CLP can use CAT, TCAT or BCAT. Here are the details:
- CAT – concatenates 2 strings according to variable length (as is).
- TCAT – concatenates 2 strings by ignoring variable lengths and removing trailing blanks for the first variable.
- BCAT – concatenates 2 strings by ignoring variable lengths, removing trailing blanks on the first variable and adding spaces between the two variables.


