HP3000-L Archives

September 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jerry Fochtman <[log in to unmask]>
Reply To:
Jerry Fochtman <[log in to unmask]>
Date:
Thu, 21 Sep 2000 06:28:14 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (68 lines)
At 09:54 PM 9/20/00 -0600, Jeff Woods wrote:
>In Image, master
>datasets *always* have exactly one key and it's *always* the first element
>in the dataset.  (Or have things changed that radically in the last few
>years without my noticing?)

A quick check with compiling a schema whereby the key field of a master
set it not the first field shows that IMAGE does not require this:

$CONTROL Blockmax =  2560
Begin

   Data Base   SIMP;

   Passwords:  1       READ     ;
               3       WRITE    ;

   Items:      ITEM1            ,      X10      (1/3);
               ITEM2            ,      X32      (1/3);
               ITEM3            ,      X10      (1/3);

   Sets:

     Name:     AUTO             ,   manual      (1/3);
     Entry:    ITEM1,
               ITEM2            (1), <-- Not first field in master..
               ITEM3;
     Capacity:         30       (30)                       ;

     Name:     DETAIL           ,   Detail      (1/3);
     Entry:    ITEM1            ,
               ITEM2            (!AUTO            ),
               ITEM3            ;

     Capacity:         1000       (4)                       ;
End.


  DATA SET      TYPE  FLD  PT  ENTR  MED  MAXIMUM     BLK  BLK  DISC
    NAME              CNT  CT  LGTH  REC  CAPACITY    FAC  LGTH SPACE

AUTO              M  3    1   26    37   30          30   1112 16
DETAIL            D  3    1   26    30   1000        4    121  256
                             TOTAL DISC SECTORS INCLUDING ROOT: 288

NUMBER OF ERROR MESSAGES: 0 <-- DBSCHEMA appears to be happy... ;-)
ITEM NAME COUNT: 3       DATA SET COUNT: 2
ROOT LENGTH: 648         BUFFER LENGTH: 1112    TRAILER LENGTH: 256

ROOT FILE SIMP CREATED.

END OF PROGRAM





>--
>Jeff Woods
>[log in to unmask] (preferred)
>[log in to unmask] (work)
>[log in to unmask] (deprecated)
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com

ATOM RSS1 RSS2