TCS0999E: ...-error in '...', procedure '...',line ...: '...', ...
A syntax error has occurred in a REXX exit.

Correct the syntax. A detailed explanation of the process language can be found here.