Message Oracle PCB-00553 - FOR clause not allowed on this statement

ERRORFOR clause not allowed on this statement
CAUSEA FOR clause was used with a SELECT, LOB, or DEALLOCATE DESCRIPTOR statement. A FOR clause cannot be used with these statements. In the case of a SELECT statement, data returned from the last loop in the execution of the SELECT would overwrite data returned in a previous loop.
ACTIONRemove the FOR clause from the statement. Use a host language construct to iteratively execute the statement.