The HATS generator supports only a subset of the ESQL language that is supported for COBOL generation. The specified mapping routine contains ESQL that is not supported in HATS generation.
Consult the online documentation to learn what subset of ESQL is supported for HATS generation.