The clause ended at an unexpected token; found expression

Synopsis
There was a statement that ended with some extraneous, unexpected text that doesn't make sense. expression is the extra text you supplied which Reginald does not think makes any sense in the context of this statement. Be sure that you do not put any unprintable characters in your REXX script, unless they are within a literal string.