Message Oracle PLS-00404 - cursor string must be declared with FOR UPDATE to use with CURRENT OF

ERRORcursor string must be declared with FOR UPDATE to use with CURRENT OF
CAUSEThe use of the CURRENT OF cursor_name clause is legal only if cursor_name was declared with a FOR UPDATE clause.
ACTIONAdd a FOR UPDATE clause to the definition of the cursor or do not use the CURRENT OF cursor_name clause.