COBSQ0002: token is badly defined

One of three things has happened:

Correct the definition or use the supplied SQLCA copybook. If the problem persists, report this error to your support representative. Trace files may be needed to resolve this problem.