When using a PERFORM loop with the VARYING clause, the _______ clause determines how the loop control variable changes in each iteration.
- BY
- FROM
- THRU
- VARYING
In a PERFORM loop with the VARYING clause, the BY clause determines the increment or decrement applied to the loop control variable in each iteration. It specifies the step size for the loop.
Loading...
Related Quiz
- What is the purpose of the CONTINUE statement in COBOL error handling?
- In COBOL, what is the significance of the "ORGANIZATION IS" clause when defining a file in the File Section?
- How can you terminate a PERFORM loop in COBOL using the EVALUATE statement?
- What is the main objective of file handling performance optimization in COBOL?
- How is an indexed file different from a sequential file in COBOL?