Hi,
I want to write a new logic for incrementing the working storage variable once it reaches the value Z99. Currently the value is X(3) and it increments from 000 to 999... then from A00 to A99... till Z00 to Z99. I want to write a new logic to increment this variable from AA0 once it reaches Z99.
AA0
AA1
.
.
AA9
AB0
AB1
.
.
AB9
.
.
.
AZ9
Once it reaches AZ9, the increments should be done for all the digits till it reaches ZZ9.
Can anyone know how to write a code for performing this logic in cobol???
Thanks in advance.