1
2
3
4
5
6 dcl mdp ptr;
7 dcl md_nchan fixed bin;
8
9 dcl 1 md aligned based (mdp),
10
11
12
13 2 event_channel fixed bin (71),
14 2 processid bit (36),
15 2 devx fixed bin,
16 2 name char (32),
17 2 nchan fixed bin,
18 2 controller_address fixed bin,
19 2 controller_poll_address char (1),
20 2 controller_select_address char (1),
21 2 general_poll_address char (1),
22 2 dialup_info,
23 3 line_type fixed bin,
24 3 baud_rate fixed bin,
25 3 max_buf_size fixed bin,
26 3 buffer_pad fixed bin,
27 2 chars unal,
28 3 nl char (1),
29 3 sba char (1),
30 3 stx char (1),
31 3 esc char (1),
32 3 write char (1),
33 3 erase_write char (1),
34 3 ic char (1),
35 3 etx char (1),
36 3 soh char (1),
37 3 eot char (1),
38 3 percent char (1),
39 3 slash char (1),
40 3 letter_R char (1),
41 3 etb char (1),
42 3 enter char (1),
43 3 clear char (1),
44 3 pa1 char (1),
45 3 pa2 char (1),
46 3 pa3 char (1),
47 3 bs char (1),
48 3 cr char (1),
49 3 em char (1),
50 3 copy char (1),
51 2 action_chars unal,
52 3 quit_key char (1),
53 3 formfeed_key char (1),
54 2 address_tablep ptr,
55 2 chan_map (0:31) fixed bin (8) unal,
56
57
58
59 2 last_poll_address char (1),
60 2 first_control_chan fixed bin,
61 2 last_control_chan fixed bin,
62 2 last_select_address char (1),
63 2 first_write_chan fixed bin,
64 2 last_write_chan fixed bin,
65 2 cur_write_chan fixed bin,
66 2 write_chain_ptr ptr unal,
67 2 first_poll_chan fixed bin,
68 2 last_poll_chan fixed bin,
69 2 input_chain_ptr ptr,
70 2 input_count fixed bin,
71 2 error_stat like ibm3270_meters,
72 2 saved_meters_ptr ptr,
73 2 flags,
74 3 ascii bit (1) unal,
75 3 debug bit (1) unal,
76 3 loading bit (1) unal,
77 3 loaded bit (1) unal,
78 3 started bit (1) unal,
79 3 poll_in_progress bit (1) unal,
80 3 output_in_progress bit (1) unal,
81 3 message_in_progress bit (1) unal,
82 3 eot_sent bit (1) unal,
83 3 send_output bit (1) unal,
84 3 allow_raw3270 bit (1) unal,
85 3 allow_copy bit (1) unal,
86 3 pad bit (24) unal,
87 2 mde_entry (md_nchan refer (md.nchan)) like mde;
88
89 dcl address_table (0:63) char (1) unal based (md.address_tablep);
90
91 dcl mdep ptr;
92
93 dcl 1 mde aligned based (mdep),
94 2 devx fixed bin,
95 2 name char (3),
96 2 device_address char (1),
97 2 screen_size fixed bin,
98 2 line_size fixed bin,
99 2 position fixed bin,
100 2 next_write_chan fixed bin,
101 2 next_poll_chan fixed bin,
102 2 next_control_chan fixed bin,
103 2 write_chain_ptr ptr unal,
104 2 flags,
105 3 listen bit (1) unal,
106 3 dialed bit (1) unal,
107 3 printer bit (1) unal,
108 3 hndlquit bit (1) unal,
109 3 waiting_for_ready bit (1) unal,
110 3 erase_req bit (1) unal,
111 3 sound_alarm bit (1) unal,
112 3 control_queued bit (1) unal,
113 3 end_of_page bit (1) unal,
114 3 keyboard_restore bit (1) unal,
115 3 rawo bit (1) unal,
116 3 rawi bit (1) unal,
117 3 raw3270 bit (1) unal,
118 3 raw3270_in_effect bit (1) unal,
119 3 write_queued bit (1) unal,
120 3 pad bit (21) unal;
121
122