In an SQL array statement, the value of the <LOOP PARAMETER> is set to <= 0.
Set the <LOOP PARAMETER> to a value > 0.