Message Oracle PCC-00142 - No EXEC SQL CONTEXT USE statement encountered

ERRORNo EXEC SQL CONTEXT USE statement encountered
CAUSENo EXEC SQL CONTEXT USE statement was encountered and the option threads=yes was requested.
ACTIONEnsure that the necessary context variable (of type sql_context) has been declared, ALLOCATEd, and USEd prior to any executable SQL statements.