I will set a flag, else i will not. Can anyone let me know the best approach/logic to find out whether all the fields has same value?
Some complex suggestions where IF EMPMARK(1) = EMPMARK(2) = EMPMARK(3) .......... = EMPMARK(1000)
01 EMP-TABLE VALUE SPACES.
10 EMP-TBL-MARKS OCCURS 1000 TIMES.
15 EMPMARK PIC X(04).
10 EMP-TBL-MARKS OCCURS 1000 TIMES.
15 EMPMARK PIC X(04).