A suffix like “cmo” is repeated several times for the definition of two variables. I suggest to avoid this.
- The function “addsuffix” can perform the desired data transformation for you.
- It can also be a bit more efficient to append suffixes at other places instead of replacing them, can't it?