A global variable was defined as LIKE. LIKE variables must be local variables.
An example of the error follows:
DEFINE GLOBAL var LIKE tab.col; -- error
Correction: Do not use the LIKE keyword with global variables. Instead, specify the data type explicitly.