|
From: | studiok |
Subject: | Re: [open-cobol-list] tree data, embedding a language or string interpolation? |
Date: | Mon, 18 Mar 2013 17:25:10 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121025 Thunderbird/16.0.2 |
Il 18/03/2013 15:02, john Culleton ha scritto:
On Mon, 18 Mar 2013 11:34:41 +0000 (GMT) Dave Stratford <address@hidden> wrote: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. DaveWithout testing--- Can a group item be used as an ISAM primary key in OC? I know split keys are not implemented.
Hello, might interest several of us: Joe Robbins at Bawtry.net has been working for some times on split-keys.I'm in touch with him and he has recentry sent me his patches for OC 1.1 split keys support. I'm helping him to test them (bdb) on my programs. From what I've seen so far he's close to achieving the result.
Marcello Marsile
[Prev in Thread] | Current Thread | [Next in Thread] |