1 /* BEGIN INCLUDE FILE mrds_db_model_relations.incl.pl1 - - Jim Gray 81-01-28 */
 2 
 3 /* HISTORY:
 4 
 5    81-01-28 Jim Gray : originally created for the mmi_$get_model_relations interface.
 6 
 7 
 8 */
 9 
10 /* DESCRIPTION:
11 
12    This structure returns the list of all relation names in
13    the database model. A count of the number of names present is included.
14    No submodel alias names for the relations are involved.
15    This structure is to be used externally, not internal to MRDS.
16 
17 */
18 
19 
20 declare 1 mrds_db_model_relations aligned based (mrds_db_model_relations_ptr),
21         2 version,                                          /* version number for this structure */
22         2 relation_count fixed bin,                         /* total number of relations in this model */
23         2 mbz1 bit (36) unal,
24         2 relation (mrds_db_model_relations_count_init refer (mrds_db_model_relations.relation_count)),
25           3 name char (32),                                 /* name of the relation in the model */
26           3 mbz2 bit (36) unal ;
27 
28 declare  mrds_db_model_relations_ptr ptr ;
29 
30 declare  mrds_db_model_relations_count_init fixed bin ;
31 
32 declare  mrds_db_model_relations_structure_version fixed bin int static init (1) options (constant) ;
33 
34 /* END INCLUDE FILE mrds_db_model_relations.incl.pl1 */