COBCH2374 Incorrectly declared local

The syntax used to declare a local variable is incorrect.

Refer to The Declare Statement for details on how to correctly use the DECLARE statement.