1
2
3
4
5 dcl 1 vrm_rel_desc based (vrm_rel_desc_ptr),
6 2 record_id bit (12) unal,
7 2 version char (8),
8 2 file_id bit (7),
9 2 rel_id bit (12),
10 2 switches,
11 3 MRDS_compatible bit (1) unal,
12 3 stationary_records
13 bit (1) unal,
14 3 indexed bit (1) unal,
15 3 pad bit (33) unal,
16 2 var_offset fixed bin (35),
17 2 maximum_data_length
18 fixed bin (35),
19 2 number_primary_key_attrs
20 fixed bin,
21 2 number_sec_indexes fixed bin,
22 2 last_var_attr_no fixed bin,
23 2 number_var_attrs fixed bin,
24 2 number_attrs fixed bin,
25 2 attr (vrd_no_of_attrs
26 refer (vrm_rel_desc.number_attrs)) aligned like vrm_attr_info;
27
28 dcl 1 vrm_attr_info based (vrm_attr_info_ptr),
29
30 2 name char (32),
31 2 descriptor bit (36) aligned,
32 2 varying bit (1) unal,
33 2 key_head bit (1) unal,
34 2 primary_key_attr bit (1) unal,
35 2 pad bit (15) unal,
36 2 index_collextion_ix fixed bin (17) unal,
37 2 bit_length fixed bin (35),
38 2 bit_offset fixed bin (35);
39
40
41 dcl vrm_rel_desc_ptr pointer;
42 dcl vrd_no_of_attrs fixed bin;
43 dcl VRM_REL_DESC_RECORD_ID bit (12) unal int static options (constant) init ("100000000000"b);
44 dcl VRM_REL_DESC_VERSION_1 char (8) int static options (constant) init (" 1");
45 dcl vrm_attr_info_ptr pointer;
46 dcl VRM_REL_DESC_KEY char (256) varying int static options (constant) init ("@relation_description");
47
48