confusedlady
Programmer
Does anyone know the "rules" of using the occurs clause in conjunction with redefines for the same area of memory? Like, would this be possible?:
01 complete-string pic x(120)
01 little-strings redefines complete string.
05 each-one occurs 30 times.
10 single-code pic x(3).
10 a-space pic x(1).
In the procedure division, I just move spaces to the a-space field because I don't think I can assign it a value in WS. I hope this question is understandable even! confusedlady
01 complete-string pic x(120)
01 little-strings redefines complete string.
05 each-one occurs 30 times.
10 single-code pic x(3).
10 a-space pic x(1).
In the procedure division, I just move spaces to the a-space field because I don't think I can assign it a value in WS. I hope this question is understandable even! confusedlady