Example: 01 WEEK-ARRAY VALUE MONTUEWEDTHUFRISATSUN. 05 WS-WEEK-DAYS OCCURS 7 TIMES PIC X(03).
Example: 01 WS-MONTH-DAY-CAL. 05 WS-DAYS OCCURS 31 TIMES DEPENDING ON WS-OCCURENCE. .... IF MONTH = FEB MOVE 28 to WS-OCCURRENCE.
Example: ADD WS-SAL(SUB) WS-SAL(SUB + 1) TO WS-SAL(SUB + 2).
Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!