Raghavendra Rao writes
Hi All,
I am trying to parse a database schema through DBSCHEMA and it is coming up
with error. I am trying to create 2 detail datasets and corresponding 5
automatic masters for the search items in these 2 details.
***** ERROR ***** MORE THAN ONE PRIMARY MASTER
If you have any idea on how to debug this problem then I would really
appreciate the replies.
Thanks
Raghu.
---------------------------------------------------------------
It means exactly what it says. You have more than one item defined as the
primary chain in a detail data set. This is done by putting a "!" in from
of the master dataset that links to a detail index. In the following FIELD4
to KEY4-SET is the offender.
:RUN DBSCHEMA.PUB.SYS;PARM=1
PAGE 1 HEWLETT-PACKARD 30391C.09.06 TurboIMAGE/3000: DBSCHEMA
THU, SEP 19, 2002, 8:36 AM (C) HEWLETT-PACKARD CO. 1987
BEGIN DATA BASE TEST;
PASSWORDS:
ITEMS:
KEY2,X2;
KEY4,X4;
FIELD2,X2;
FIELD4,X4;
FIELD6,X6;
SETS:
NAME: KEY2-SET,A;
ENTRY: KEY2(1);
CAPACITY: 101;
NAME: KEY4-SET,A;
ENTRY: KEY4(1);
CAPACITY: 101;
NAME: DET-SET,D;
ENTRY: FIELD2(!KEY2-SET),
FIELD4(!KEY4-SET),
***** ERROR ***** MORE THAN ONE PRIMARY MASTER
FIELD6;
CAPACITY: 101;
END.
NUMBER OF ERROR MESSAGES: 1
ITEM NAME COUNT: 5 DATA SET COUNT: 3
PRECEDING ERRORS -- NO ROOT FILE CREATED.
SCHEMA PROCESSING TERMINATED.
Program terminated in an error state. (CIERR 976)
:
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|