As a follow-up to another thread, I am actually curious (and don't know
the
answer - but have a guess) what IBM does with "BLV" (base locators for
variably
located data) and what Micro Focus does when ODOSLIDE is turned on.
Specifically whether either or both actually DO do "dynamic allocation"
for
NON-Standard ODO's (i.e. those prohibited by the Standard - but allowed as
documented extensions by these - and possibly other - compilers).
Consider:
01 Group1.
05 Num Pic 9.
05 Tabl1.
10 Tabl-Item occurs 1 to 9 times depending on Num Pic X.
05 Non-Standard-After-ODO Pic X.
Move 1 to Num
Move "X" to Non-Standard-After-ODO
*> "X" is placed into the 3rd byte of Group1
Move 9 to Num
*> "X" is now in Tabl-Item (2)
Move "X" to Non-Standard-After-ODO
*> "X" is placed in 11th byte of Group1
So my question is whether the "change in size" of Group1 actually involves
dynamic change in storage allocated - or just SEEMS to. I am not even
certain
how one could find this out. (I don't know, but I don't think the
generated
Assembler would tell - but it might.)
P.S. I am WELL aware of the storage requirements for
"Standard-conforming"
ODO's.
--
Bill Klein
wmklein <at> ix.netcom.com