X297: FOR FETCH ONLY and FOR UPDATE OF are mutually exclusive clauses.

You cannot specify both a FOR FETCH ONLY clause and a FOR UPDATE OF clause in your query. If a cursor is to be both fetched and updated you should not specify either clause in the SELECT statement.
Restriction: This topic applies to Windows environments only.