1
2
3 dcl udsk_cardp pointer;
4
5 dcl 1 udsk_card aligned based (udsk_cardp),
6 2 word char (4),
7 2 subsystem char (4),
8 2 nchan fixed bin,
9
10 2 group (6),
11 3 drive fixed bin,
12 3 ndrives fixed bin,
13
14 2 type_word aligned,
15 3 field_type (14) bit (2) unaligned,
16 3 pad1 bit (4) unaligned,
17 3 n_fields fixed bin (4) unsigned unaligned;
18
19 dcl 1 udsk_card_array aligned based (udsk_cardp),
20 2 pad (3) bit (36) aligned,
21 2 group (divide (max (0, udsk_card.n_fields - 2), 2, 17, 0)),
22 3 drive fixed bin,
23 3 ndrives fixed bin;
24
25 dcl UDSK_CARD_WORD char (4) aligned internal static options (constant) init ("udsk");
26
27