1 /* BEGIN INCLUDE FILE - dm_relation_description.incl.pl1 */
 2 
 3 /* HISTORY:
 4 Written by Matthew Pierret, 09/23/82.
 5 Modified:
 6 12/09/82 by Matthew Pierret:  Changed to RELATION_DESCRIPTION_VERSION_2. Added
 7             record_collection_id.
 8 02/17/83 by Ron Harvey: Added attribute names and changed to version 3.
 9 */
10 
11 /* format: style2,ind3 */
12      dcl     1 relation_description aligned based (relation_description_ptr),
13                2 version            fixed bin (35),
14                2 maximum_number_of_attributes_per_index
15                                     fixed bin (17) unaligned,
16                2 number_of_attributes
17                                     fixed bin (17) unaligned,
18                2 number_of_indices  fixed bin (17) unaligned,
19                2 maximum_attribute_name_length
20                                     fixed bin (17) unaligned,
21                2 record_collection_id
22                                     bit (36) aligned,
23                2 attribute          (rd_number_of_attributes
24                                     refer (relation_description.number_of_attributes)),
25                  3 name             char (rd_maximum_attribute_name_length
26                                     refer (relation_description.maximum_attribute_name_length)) varying,
27                  3 descriptor_ptr   ptr,
28                2 index              (rd_number_of_indices refer (relation_description.number_of_indices)),
29                  3 collection_id    bit (36) aligned,
30                  3 style            fixed bin (17) unaligned,
31                  3 number_of_attributes
32                                     fixed bin (17) unaligned,
33                  3 flags,
34                    4 is_unique      bit (1) unal,
35                    4 is_primary     bit (1) unal,
36                    4 pad            bit (34) unal,
37                  3 attribute        (rd_maximum_number_of_attributes_per_index
38                                     refer (relation_description.maximum_number_of_attributes_per_index)) fixed
39                                     bin (17) unaligned;
40 
41 
42      dcl     relation_description_ptr
43                                     ptr;
44      dcl     RELATION_DESCRIPTION_VERSION_3
45                                     init (3) fixed bin (35) internal static options (constant);
46      dcl     rd_maximum_number_of_attributes_per_index
47                                     fixed bin (17);
48      dcl     rd_number_of_indices   fixed bin (17);
49      dcl     rd_number_of_attributes
50                                     fixed bin (17);
51      dcl     rd_maximum_attribute_name_length fixed bin (17);
52 
53 /* END INCLUDE FILE - dm_relation_description.incl.pl1 */