1 /* BEGIN INCLUDE FILE mrds_db_model_rel_attrs.incl.pl1 - - Jim Gray 81-01-28 */
 2 
 3 /* HISTORY:
 4 
 5    81-01-28 Jim Gray : originally created for the mmi_$get_model_attributes interface.
 6 
 7 
 8 */
 9 
10 /* DESCRIPTION:
11 
12    This structure returns, for a given relation, the list of all attribute names in
13    the database model. A count of the number of names present is included.
14    No submodel alias names for the attributes are involved.
15    Also, the domain name, and the users view descriptor for the data type
16    is returned, as well as a bit indicating whether the attribute
17    can be used as if it were indexed or not.
18    This structure is to be used externaly, not internal to MRDS.
19 
20 */
21 
22 
23 declare 1 mrds_db_model_rel_attrs aligned based (mrds_db_model_rel_attrs_ptr),
24         2 version fixed bin,                                /* version number for this structure */
25         2 attribute_count fixed bin,                        /* total number of attributes in this model */
26         2 mbz1 bit (36) unal,
27         2 attribute (mrds_db_model_rel_attrs_count_init refer (mrds_db_model_rel_attrs.attribute_count)),
28           3 name char (32),                                 /* name of the attribute in the model */
29           3 domain char (32),                               /* the name of the underlying domain for this attribute */
30           3 user_data_type bit (36),                        /* standard multics descriptor for
31                                                                the users view of the data storage layout */
32           3 indexed bit (1) unal,                           /* on => key head or secondarily indexed attribute */
33           3 mbz2 bit (35) unal ;
34 
35 declare  mrds_db_model_rel_attrs_ptr ptr ;
36 
37 declare  mrds_db_model_rel_attrs_count_init fixed bin ;
38 
39 declare  mrds_db_model_rel_attrs_structure_version fixed bin int static init (1) options (constant) ;
40 
41 /* END INCLUDE FILE mrds_db_model_rel_attrs.incl.pl1 */