DSNH4783I E csectname LINE nnnn COL cc SELECT LIST FOR CURSOR cursor-name IN FOR STATEMENT NOT VALID
Explanation
An SQL procedure contains a FOR statement in which the select list in the cursor declaration has a column that is not valid. That column is a duplicate of another column in the select list, or the column is not named.
System action
The statement cannot be executed.
User response
Ensure that all columns in the select list for a cursor declaration in a FOR statement are unique and are named. If a column of the select list is the result of a column function, specify an AS clause to name the column.
Severity
8 (error)