Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Cobol > (Non-Standard) ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 9 Topic 4054 of 4115
Post > Topic >>

(Non-Standard) ODO's

by "William M. Klein" <wmklein@[EMAIL PROTECTED] > Mar 12, 2008 at 01:14 PM

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




 9 Posts in Topic:
(Non-Standard) ODO's
"William M. Klein&qu  2008-03-12 13:14:13 
Re: (Non-Standard) ODO's
Robert <no@[EMAIL PROT  2008-03-12 12:43:12 
Re: (Non-Standard) ODO's
"William M. Klein&qu  2008-03-12 20:08:21 
Re: (Non-Standard) ODO's
Robert <no@[EMAIL PROT  2008-03-12 19:10:25 
Re: (Non-Standard) ODO's
"Michael Mattias&quo  2008-03-13 13:54:21 
Re: (Non-Standard) ODO's
Robert <no@[EMAIL PROT  2008-03-13 23:37:14 
Re: (Non-Standard) ODO's
"Frank Swarbrick&quo  2008-03-12 14:35:47 
Re: (Non-Standard) ODO's
"William M. Klein&qu  2008-03-12 23:30:25 
Re: (Non-Standard) ODO's
Richard <riplin@[EMAIL  2008-03-13 11:46:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 6:48:20 CDT 2008.