1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 dcl net_event_message_arg fixed bin (71);
20 dcl NET_EVENT_MESSAGE_VERSION_1 bit (2) internal static options (constant) init ("10"b);
21
22 dcl 1 net_event_message aligned based (addr (net_event_message_arg)),
23 2 version bit (2) unaligned,
24 2 reason bit (16) unaligned,
25 2 pad bit (6) unaligned,
26 2 network_type fixed bin (4) unsigned unaligned,
27
28 2 type fixed bin (8) unsigned unaligned,
29
30 2 handle fixed bin (35) aligned;
31
32
33
34 dcl MCS_NETWORK_TYPE fixed bin (4) unsigned internal static options (constant) init (0);
35 dcl DSA_NETWORK_TYPE fixed bin (4) unsigned internal static options (constant) init (1);
36 dcl MOWSE_NETWORK_TYPE fixed bin (4) unsigned internal static options (constant) init (2);
37
38 dcl NETWORK_TYPE_VALUES (0:2) char(8) varying int static options(constant) init(
39 "MCS",
40 "DSA",
41 "MOWSE");
42
43
44
45
46 dcl MAX_MCS_EVENT_MSG_TYPE fixed bin internal static options (constant) init (8);
47
48 dcl MCS_UNSPECIFIED_MSG fixed bin internal static options (constant) init (0);
49
50 dcl MCS_DIALUP_MSG fixed bin internal static options (constant) init (1);
51
52 dcl MCS_HANGUP_MSG fixed bin internal static options (constant) init (2);
53
54 dcl MCS_DIALOUT_MSG fixed bin internal static options (constant) init (3);
55
56 dcl MCS_QUIT_MSG fixed bin internal static options (constant) init (4);
57
58 dcl MCS_READ_MSG fixed bin internal static options (constant) init (5);
59
60 dcl MCS_WRITE_MSG fixed bin internal static options (constant) init (6);
61
62 dcl MCS_LINE_STATUS_MSG fixed bin internal static options (constant) init (7);
63
64 dcl MCS_MASKED_MSG fixed bin internal static options (constant) init (8);
65
66
67 dcl MCS_MSG_TYPE_TO_PNAME (0:8) char (20) internal static options (constant) init ("unspecified",
68
69 "dialup",
70 "hangup",
71 "dialout status",
72 "quit",
73 "read",
74 "write",
75 "line status",
76 "masked");
77
78
79
80 dcl MAX_DSA_EVENT_MSG_TYPE fixed bin internal static options (constant) init (19);
81
82 dcl DSA_UNSPECIFIED_MSG fixed bin (8) uns internal static options (constant) init (0);
83 dcl DSA_ATTENTION_MSG fixed bin (8) uns internal static options (constant) init (1);
84 dcl DSA_DATA_ATTENTION_MSG fixed bin (8) uns internal static options (constant) init (2);
85 dcl DSA_DEMAND_RELEASE_SRU_MSG fixed bin (8) uns internal static options (constant) init (3);
86 dcl DSA_DEMAND_TURN_MSG fixed bin (8) uns internal static options (constant) init (4);
87 dcl DSA_DEMAND_TURN_ACK_MSG fixed bin (8) uns internal static options (constant) init (5);
88 dcl DSA_PURGE_MSG fixed bin (8) uns internal static options (constant) init (6);
89 dcl DSA_RECOVER_MSG fixed bin (8) uns internal static options (constant) init (7);
90 dcl DSA_RECOVER_ACK_MSG fixed bin (8) uns internal static options (constant) init (8);
91 dcl DSA_RELEASE_SRU_MSG fixed bin (8) uns internal static options (constant) init (9);
92 dcl DSA_RESUME_MSG fixed bin (8) uns internal static options (constant) init (10);
93 dcl DSA_RESUME_ACK_MSG fixed bin (8) uns internal static options (constant) init (11);
94 dcl DSA_SUSPEND_MSG fixed bin (8) uns internal static options (constant) init (12);
95 dcl DSA_SUSPEND_ACK_MSG fixed bin (8) uns internal static options (constant) init (13);
96 dcl DSA_TERM_ABNORMAL_MSG fixed bin (8) uns internal static options (constant) init (14);
97 dcl DSA_ESTABLISHMENT_MSG fixed bin (8) uns internal static options (constant) init (15);
98 dcl DSA_TERMINATED_MSG fixed bin (8) uns internal static options (constant) init (16);
99 dcl DSA_USER_UNASSIGN_MSG fixed bin (8) uns internal static options (constant) init (17);
100 dcl DSA_DATA_INPUT_MSG fixed bin (8) uns internal static options (constant) init (18);
101 dcl DSA_DATA_OUTPUT_MSG fixed bin (8) uns internal static options (constant) init (19);
102
103 dcl DSA_MSG_TYPE_TO_PNAME (0:19) char (20) internal static options (constant) init ("unspecified",
104
105 "attention",
106 "data_attention",
107 "demand_release_sru",
108 "demand_turn",
109 "demand_turn_ack",
110 "purge",
111 "recover",
112 "recover_ack",
113 "release_sru",
114 "resume",
115 "resume_ack",
116 "suspend",
117 "suspend_ack",
118 "terminate_abnormal",
119 "establishment",
120 "terminated",
121 "user_unassign",
122 "data input",
123 "data output");
124
125