1
2
3 dcl chnl_cardp ptr;
4
5 dcl 1 chnl_card based (chnl_cardp) aligned,
6 2 word char (4),
7 2 name char (4),
8 2 group (3),
9 3 iom fixed bin (3),
10 3 chan fixed bin (8),
11 3 nchan fixed bin,
12
13 2 pad (4) bit (36) aligned,
14
15 2 type_word aligned,
16 3 field_type (14) bit (2) unaligned,
17 3 pad1 bit (4) unaligned,
18 3 n_fields fixed bin (4) unsigned unaligned;
19
20 dcl 1 chnl_card_array aligned based (chnl_cardp),
21 2 pad1 (2) bit (36) aligned,
22 2 group (min (3, divide (max (0, (chnl_card.n_fields - 1)), 3, 17, 0))),
23 3 iom fixed bin (3),
24 3 chan fixed bin (8),
25 3 nchan fixed bin;
26
27 dcl CHNL_CARD_WORD char (4) aligned internal static options (constant) init ("chnl");
28
29