a database name is not allowed in a qualified host variable Explanation: You cannot use a database field name to qualify a host variable. For example, you cannot have the following expression: FOR E IN EMPLOYEES WITH E.EMPLOYEE_ID = HOST_VAR(E.EMPLOYEE_ID) ~.~.~. User Action: Use an additional GET statement to assign the value of the database field to another host variable and use that host variable to qualify the first host variable. For example, FOR E IN EMPLOYEES GET HOST-VAR-2 = E.EMPLOYEE_ID FOR E1 IN EMPLOYEES WITH E.EMPLOYEE_ID = HOST-VAR(HOST-VAR-2) ~.~.~. END_FOR END_FOR