Post #1
0 votes
Jordan
Reputation12
Posts: 32
Joined: 05/02/2026, 11:10 AM
Posted: 08/02/2026, 01:40 PM
Need a loop. Docs show PERFORM 10 TIMES and PERFORM UNTIL WS-EOF = 'Y'.
Is TIMES only when I know the count up front?
Need a loop. Docs show PERFORM 10 TIMES and PERFORM UNTIL WS-EOF = 'Y'.
Is TIMES only when I know the count up front?
TIMES = fixed count. UNTIL / VARYING = keep going until a condition (reading a file, searching a table).
Reading a file = UNTIL eof flag. Processing exactly 12 months = TIMES or VARYING 1 BY 1 UNTIL > 12.
You must be signed in to reply to this thread