<< Click to Display Table of Contents >> LOOP_CONDITION |
![]() ![]() ![]() |
If there is a GOTO statement inside of the SCAN block then LOOP_CONDITION should be used to avoid loops. This combination of statements can in some rare cases cause looping.
loop_condition='DataSetName;Column'
Every line scanned in a SCAN block is checked and the value specified by Column is registered in an internal buffer. If during the scanning the same value in the same result set is found then the iteration is terminated immediately.