[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [open-cobol-list] Re: Redefines question

From: Bill Klein
Subject: RE: [open-cobol-list] Re: Redefines question
Date: Fri May 6 13:15:49 2005

  I have now found the actual '02 Standard rule.

Page 336, SR(9),

"9) The storage area required for the subject of the entry shall not be
larger than the storage area required for the data item referenced by
data-name-2, unless the data item referenced by data-name-2 has been
specified with level number 1 and without the EXTERNAL clause."

In other words, you can do a redefines of a smaller by a larger - but ONLY
when they are 01-levels (not EXTERNAL).  In other words, you need to figure
out the "maximum" storage allowed for all 01-levels; allocate that; and then
do the redefines.


My other notes were thinking about subordinate items - where this is (was)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]