Hi, what's wrong with my coding ?
the compiler is screaming: "The "IF" verb did not have a matching scope terminator."
PERFORM
VARYING K FROM 1 BY 1 UNTIL K > 6
IF A-AMT (J) < B-AMT (K)
PERFORM 1000-WRITE
THRU 1000-WRITE-X
END-PERFORM.
thanks
the compiler is screaming: "The "IF" verb did not have a matching scope terminator."
PERFORM
VARYING K FROM 1 BY 1 UNTIL K > 6
IF A-AMT (J) < B-AMT (K)
PERFORM 1000-WRITE
THRU 1000-WRITE-X
END-PERFORM.
thanks