Host variables must not be used within a batch

Error constant SQLE_HOSTVARS_IN_BATCH
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 15
SQLCODE –807
SQLSTATE 07W07
Sybase error code 13817
Probable cause

You have attempted to execute a batch that contains host variable references. Host variables are not supported within a batch.