Re: [Cobolforgcc-devel] New code added
Status: Pre-Alpha
Brought to you by:
timjosling
From: Fred M. <fr...@mo...> - 2001-04-14 10:08:25
|
"William M. Klein" wrote: > > Both of the VALUE with OCCURS clause "variations" were enhancements in the > '85 Standard. The '75 Standard did *not* allow both of those (as I recall). The '75 standard did not allow a VALUE clause in an entry with the OCCURS clause. It did, however permit a VALUE clause for a group field, which can of course contain subordinate data items with an OCCURS clause. Regards, Fred > > From: cob...@li... > > [mailto:cob...@li...]On Behalf Of Tim > > Josling > > > > Thanks. I will have various options for comp, in which they get > > translated into the internal comp format. It is amazing how > > liitle I knew of COBOL after using it all these years. > > > > For example I didn't know you could do this: > > > > 01 x. > > 02 y pic 999 value 123 occurs 100000. > > > > Even entry in the table gets set to 123. > > > > Or this > > > > 01 x value "ABC". > > 02 xx pic x occurs 3. -- Fred Mobach - fr...@mo... - pos...@mo... Systemhouse Mobach bv - The Netherlands - since 1976 The Free Transaction Processing Monitor project : http://www.ftpm.org/ |