Post #1
0 votes
Jordan
Reputation
12
Posts: 32
Joined: May 2, 2026, 11:10 AM
Posted: Aug 2, 2026, 1: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