Change the USAGE clause for the host variable so that it is not USAGE IS INDEX and try again. IBM Informix ESQL/COBOL does not support USAGE INDEX.