PCC-00016: Unable to open a cursor at line number in file string Cause: The syntax in a SQL statement is faulty. The precompiler was expecting a host variable, but found something else. Action: Check the syntax and the spelling, then correct the SQL statement.