| ERROR | FOR clause not allowed on SELECT statement at line number in file string. |
| CAUSE | A FOR clause was used with a SELECT statement. This is not allowed as data returned from the last loop in the execution of the SELECT overwrites data returned in a previous loop. |
| ACTION | Remove the FOR clause from the SELECT statement and use a host- language construct to iteratively execute the SELECT statement. |