[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [open-cobol-list] tree data, embedding a language or string interpol
From: |
Dave Stratford |
Subject: |
Re: [open-cobol-list] tree data, embedding a language or string interpolation? |
Date: |
Mon, 18 Mar 2013 11:34:41 +0000 (GMT) |
User-agent: |
Pluto/3.04c (RISC-OS/6.20) |
On 17 Mar, john Culleton <address@hidden> wrote:
<Large snip>
> 02 main-key pic x10.
> 02 sub-area redefines main-key.
> 03 primary-number pic x(5).
> 03 sub-number pic x(5).
> This takes up 10 bytes total. main-key is the primary key (must
> be unique) and primary-number and sub-number are alternate keys
> that allow for duplication.
Um, wouldn't
02 main-key.
03 primary-number pic x(5).
03 sub-number pic x(5).
Have been more effecient? Here main-key is still, logicall, x(10), and can
be accessed as such. You don't need sub-area, so removing both you also
get rid of the redefines. For this particular definition they don't appear
to be necessary.
Dave
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> open-cobol-list mailing list
> address@hidden
> https://lists.sourceforge.net/lists/listinfo/open-cobol-list
--
Hexagon Systems Ltd Experts in VME solutions www.hexagon-systems.co.uk
HSL Webz Experts in web design www.hsl-webz.co.uk
- [open-cobol-list] tree data, embedding a language or string interpolation?, Patrick, 2013/03/15
- Re: [open-cobol-list] tree data, embedding a language or string interpolation?, Brian Tiffin, 2013/03/15
- Re: [open-cobol-list] tree data, embedding a language or string interpolation?, john Culleton, 2013/03/17
- Re: [open-cobol-list] tree data, embedding a language or string interpolation?,
Dave Stratford <=