I've variables WS-PLAN-NO1, WS-PLAN-NO2, WS-PLAN-NO3, WS-PLAN-NO4.......till WS-PLAN-NO150.
In the program I will be having just one loop and the last byte will be automatically incremented.
I'm not sure how to do it in program.
My program will look like this:
Perform till EOF
Move spaces to WS-TEMP
Add 1 to N
MOVE WS-PLAN-NO"N" TO WS-TEMP
...
...
Can anyone help me with this?