COBSQ0126: A _ is illegal in a host variable.

An underscore (_) was found in a host variable name in the SQL statement in error.

Underscores are only valid in column names for SQL tables. A hyphen (-) is valid for host variable names. Change the underscore to a hyphen and recompile your program.