1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31 dcl (LS_VALIDATE_REQUEST initial (1),
32 LS_PROCESS_REQUEST initial (2),
33 LS_LIST_REQUEST initial (3),
34 LS_DIAL_REQUEST initial (4),
35 LS_DISCONNECT_REQUEST initial (5),
36 LS_LOGOUT_REQUEST initial (6),
37 LS_OPERATOR_REQUEST initial (7))
38 fixed bin internal static options (constant);
39
40 dcl LS_REQUEST_TYPES (7) char (10) internal static options (constant) initial
41 (
42 "validate",
43 "process",
44 "list",
45 "dial",
46 "disconnect",
47 "logout",
48 "operator");
49
50 dcl ls_request_ptr pointer;
51
52
53
54 dcl 1 ls_request_header aligned based (ls_request_ptr),
55 2 header_version char (8),
56 2 request_version char (8),
57 2 request_type fixed bin,
58 2 pad1 bit (36),
59 2 reply_event_channel fixed bin (71),
60 2 reply_handle bit (72) aligned,
61 2 connection_info like user_connection_info;
62
63 dcl LS_REQUEST_HEADER_VERSION_1 char (8) initial ("lsrh0001") internal static options (constant);
64
65 dcl 1 user_connection_info aligned based,
66 2 connection_name char (32),
67 2 access_class_range (2) bit (72),
68 2 terminal_type char (32),
69 2 terminal_id char (4),
70 2 line_type fixed bin;
71
72
73
74
75
76 dcl 1 login_server_validate_request aligned based (ls_request_ptr),
77 2 header like ls_request_header,
78 2 current_password char (8),
79 2 authorization bit (72),
80 2 terminate_event_channel fixed bin (71),
81 2 person_id char (22),
82 2 project_id char (9),
83 2 network_connection_type fixed bin,
84 2 new_password char (8),
85 2 flags,
86 3 gpw bit (1) unaligned,
87 3 auth_given bit (1) unaligned,
88 3 anonymous bit (1) unaligned,
89 3 anon_no_password bit (1) unaligned,
90 3 change_password bit (1) unaligned,
91 3 change_default_auth bit (1) unaligned,
92 3 change_default_proj bit (1) unaligned,
93 3 operator bit (1) unaligned,
94 3 pad bit (28) unaligned;
95
96
97 dcl LS_VALIDATE_REQUEST_VERSION_1 char (8) internal static options (constant) initial ("lsvr0001");
98
99
100
101
102
103 dcl 1 login_server_process_request aligned based (ls_request_ptr),
104 2 fixed_part,
105 3 header like ls_request_header,
106 3 handle bit (72),
107 3 person_id char (22),
108 3 project_id char (9),
109 3 project_pad fixed bin,
110 3 command_type fixed bin,
111 3 process_number fixed bin,
112 3 default_io_module char (32),
113 3 switch_flags,
114 4 warn_given bit (1) unaligned,
115 4 force_given bit (1) unaligned,
116 4 save_given bit (1) unaligned,
117 4 preempt_given bit (1) unaligned,
118 4 brief_given bit (1) unaligned,
119 4 pad2 bit (31) unaligned,
120 3 switch_values,
121 4 warn bit (1) unaligned,
122 4 force bit (1) unaligned,
123 4 save_on_disconnect bit (1) unaligned,
124 4 preempt bit (1) unaligned,
125 4 brief bit (1) unaligned,
126 4 pad3 bit (31) unaligned,
127 3 other_flags,
128 4 init_ring_given bit (1) unaligned,
129 4 minimum_ring_given bit (1) unaligned,
130 4 immediate bit (1) unaligned,
131 4 no_start_up bit (1) unaligned,
132 4 pad4 bit (32) unaligned,
133 3 initial_ring fixed bin,
134 3 minimum_ring fixed bin,
135 3 home_dir char (168),
136 3 outer_module char (32),
137 3 process_overseer char (168),
138 3 subsystem char (168),
139 3 n_args fixed bin,
140 2 login_arguments,
141 3 arg_string_length fixed bin (21),
142 3 args (ls_process_request_n_args refer (login_server_process_request.n_args)),
143 4 start_index fixed bin (21),
144 4 arg_length fixed bin (21),
145 3 arg_string char (ls_process_request_arg_string_length refer (login_server_process_request.arg_string_length));
146
147 dcl ls_process_request_n_args fixed bin;
148 dcl ls_process_request_arg_string_length fixed bin (21);
149
150 dcl LS_PROCESS_REQUEST_VERSION_1 char (8) internal static options (constant) initial ("lspr0001");
151
152
153
154
155
156 dcl 1 login_server_list_request aligned based (ls_request_ptr),
157 2 header like ls_request_header,
158 2 handle bit (72);
159
160 dcl LS_LIST_REQUEST_VERSION_1 char (8) internal static options (constant) initial ("lslr0001");
161
162
163
164
165
166 Note
167
168
169
170 dcl 1 login_server_dial_request aligned based (ls_request_ptr),
171 2 header like ls_request_header,
172 2 initializer_handle bit (72),
173 2 terminate_event_channel fixed bin (71),
174 2 dial_qualifier char (22),
175 2 person_id char (22),
176 2 project_id char (9),
177 2 user_person_id char (22),
178 2 user_project_id char (9);
179
180 dcl LS_DIAL_REQUEST_VERSION_1 char (8) internal static options (constant) initial ("lsdr0001");
181
182
183
184
185 Note
186
187
188 dcl 1 login_server_disconnect_request aligned based (ls_request_ptr),
189 2 header like ls_request_header,
190 2 handle bit (72),
191 2 process_id bit (36);
192
193 dcl LS_DISCONNECT_REQUEST_VERSION_1 char (8) internal static options (constant) initial ("lsdc0001");
194
195
196
197
198
199 dcl 1 login_server_logout_request aligned based (ls_request_ptr),
200 2 header like ls_request_header,
201 2 handle bit (72);
202
203 dcl LS_LOGOUT_REQUEST_VERSION_1 char (8) internal static options (constant) initial ("lslg0001");
204
205
206
207
208 Note
209
210
211
212
213
214 dcl 1 login_server_operator_request aligned based (ls_request_ptr),
215 2 header like ls_request_header,
216 2 initializer_handle bit (72) aligned,
217 2 terminate_event_channel fixed bin (71),
218 2 person_id char (22),
219 2 project_id char (9),
220 2 virtual_channel char (32);
221
222 dcl LOGIN_SERVER_OPERATOR_REQUEST_VERSION_1 char (8) internal static options (constant) initial ("lsor0001");
223
224 ^L
225
226
227
228 dcl (LS_UNKNOWN_RESPONSE initial (100),
229 LS_VALIDATE_RESPONSE initial (101),
230 LS_PROCESS_RESPONSE initial (102),
231 LS_LIST_RESPONSE initial (103),
232 LS_DIAL_RESPONSE initial (104),
233 LS_TERMINATION_RESPONSE initial (105),
234 LS_NEW_PROC_RESPONSE initial (106),
235 LS_OPERATOR_RESPONSE initial (107))
236 fixed bin internal static options (constant);
237
238 dcl LS_RESPONSE_TYPES (100:107) char (10) internal static options (constant) initial
239 (
240 "UNKNOWN",
241 "validate",
242 "process",
243 "list",
244 "dial",
245 "terminate",
246 "new_proc",
247 "operator");
248
249 NOTE
250
251
252
253
254 dcl ls_response_ptr pointer;
255
256
257
258 dcl 1 login_server_response_header aligned based (ls_response_ptr),
259 2 message_type fixed bin,
260 2 header_pad bit (36),
261 2 version char (8);
262
263
264
265
266
267 dcl 1 login_server_validate_response aligned based (ls_response_ptr),
268 2 header like login_server_response_header,
269 2 handle bit (72),
270
271 2 authorization bit (72),
272 2 authorization_range (2) bit (72),
273 2 status_code fixed bin (35),
274 2 person_id char (22),
275 2 project_id char (9),
276 2 n_disconnected_processes fixed bin,
277 2 validate_pad fixed bin,
278 2 previous_login_info,
279 3 time fixed bin (71),
280 3 terminal_type char (32),
281 3 terminal_id char (4),
282 2 incorrect_passwords fixed bin,
283 2 last_incorrect_password,
284 3 time fixed bin (71),
285 3 terminal_type char (32),
286 3 terminal_id char (4),
287 2 password_interval fixed bin,
288 2 flags,
289 3 disconnect bit (1) unaligned,
290 3 password_changed bit (1) unal,
291 3 default_auth_changed bit (1) unal,
292 3 default_proj_changed bit (1) unal,
293 3 password_expired bit (1) unal,
294 3 password_unused_too_long bit (1) unal,
295 3 pad bit (30) unaligned;
296
297 dcl LS_VALIDATE_RESPONSE_VERSION_1 char (8) internal static options (constant) initial ("lsvs0001");
298
299
300
301
302
303 dcl 1 login_server_process_response aligned based (ls_response_ptr),
304 2 fixed_part,
305 3 header like login_server_response_header,
306 3 status_code fixed bin (35),
307 3 process_id bit (36),
308 3 new_handle bit (72),
309 3 authorization bit (72),
310 3 process_group_id char (32),
311 3 process_number fixed bin,
312 3 n_disconnected_processes fixed bin,
313 3 start_event_channel fixed bin (71),
314 3 login_instance fixed bin,
315 3 accounting_info,
316 4 cpu_usage fixed bin (71),
317 4 cost float bin,
318 3 flags,
319 4 disconnect bit (1) unaligned,
320 4 logout bit (1) unaligned,
321 4 created bit (1) unaligned,
322 4 connected bit (1) unaligned,
323 4 new_proc bit (1) unaligned,
324 4 destroyed bit (1) unaligned,
325 4 anonymous bit (1) unaligned,
326 4 already_logged_in bit (1) unaligned,
327 4 message_coordinator bit (1) unaligned,
328 4 brief bit (1) unaligned,
329 4 pad bit (26) unaligned,
330 3 initial_ring fixed bin,
331 3 already_logged_in_info,
332 4 connection_name char (32),
333 4 terminal_type char (32),
334 4 terminal_id char (4),
335 2 accounting_message_struc,
336 3 accounting_message_length fixed bin,
337 3 accounting_message char (ls_process_response_accounting_message_length refer (login_server_process_response.accounting_message_length));
338
339 dcl ls_process_response_accounting_message_length fixed bin;
340
341 dcl LOGIN_SERVER_PROCESS_RESPONSE_VERSION_1 char (8) internal static options (constant) initial ("lsps0001");
342
343
344
345
346
347 dcl 1 login_server_list_response aligned based (ls_response_ptr),
348 2 header like login_server_response_header,
349 2 n_processes fixed bin,
350 2 pad_header fixed bin,
351 2 process_info (login_server_list_response_n_processes refer (login_server_list_response.n_processes)),
352 3 creation_time fixed bin (71),
353 3 authorization bit (72),
354 3 initial_ring fixed bin,
355 3 pad_process_info fixed bin,
356 3 connection_info like user_connection_info;
357
358 dcl login_server_list_response_n_processes fixed bin;
359
360 dcl LOGIN_SERVER_LIST_RESPONSE_VERSION_1 char (8) internal static options (constant) initial ("lslr0001");
361
362
363
364
365
366 dcl 1 login_server_dial_response aligned based (ls_response_ptr),
367 2 header like login_server_response_header,
368 2 status_code fixed bin (35),
369 2 process_id bit (36),
370 2 process_group_id char (32),
371 2 authorization bit (72),
372 2 start_event_channel fixed bin (71),
373 2 process_ring fixed bin,
374 2 flags,
375 3 disconnect bit (1) unaligned,
376 3 pad bit (35) unaligned;
377
378 dcl LOGIN_SERVER_DIAL_RESPONSE_VERSION_1 char (8) internal static options (constant) initial ("lsds0001");
379
380
381
382
383
384
385 dcl 1 login_server_termination_response aligned based (ls_response_ptr),
386 2 header like login_server_response_header,
387 2 accounting_info,
388 3 cpu_usage fixed bin (71),
389 3 cost float bin,
390 3 pad bit (33) unaligned,
391 2 process_id bit (36),
392 2 process_group_id char (32),
393 2 status_code fixed bin (35),
394 2 flags,
395 3 logout bit (1) aligned,
396 3 automatic_logout bit (1) unaligned,
397 3 hold bit (1) unaligned,
398 3 brief bit (1) unaligned,
399 3 new_proc bit (1) unaligned,
400 3 fatal_error bit (1) unaligned,
401 3 fpe_caused_logout bit (1) unaligned,
402 3 fpe_loop bit (1) unaligned,
403 3 fpe_during_init bit (1) unaligned,
404 3 offer_help bit (1) unaligned,
405 3 pad bit (27) unaligned;
406
407 dcl LOGIN_SERVER_TERMINATION_RESPONSE_VERSION_1 char (8) internal static options (constant) initial ("lstr0001");
408
409
410
411
412
413
414 dcl 1 login_server_new_proc_response aligned based (ls_response_ptr),
415 2 header like login_server_response_header,
416 2 new_authorization bit (72),
417 2 new_start_event_channel fixed bin (71),
418 2 new_process_id bit (36);
419
420 dcl LOGIN_SERVER_NEW_PROC_RESPONSE_VERSION_1 char (8) internal static options (constant) initial ("lsnp0001");
421
422
423
424
425
426 dcl 1 login_server_operator_response aligned based (ls_response_ptr),
427 2 header like login_server_response_header,
428 2 status_code fixed bin (35),
429 2 process_id bit (36),
430 2 process_group_id char (32),
431 2 event_channel fixed bin (71),
432 2 ring fixed bin,
433 2 flags,
434 3 disconnect bit (1) unaligned,
435 3 mbz bit (35) unaligned;
436
437
438 dcl LOGIN_SERVER_OPERATOR_RESPONSE_VERSION_1 char (8) internal static options (constant) initial ("lsos0001");
439
440
441
442
443 dcl ls_reply_message_ptr pointer;
444
445 dcl 1 ls_reply_message aligned based (ls_reply_message_ptr),
446 2 code fixed bin (35),
447 2 flags,
448 3 request_invalid bit (1) unaligned,
449 3 response_sent bit (1) unaligned,
450 3 as_error_code bit (1) unaligned,
451 3 do_not_reply bit (1) unaligned,
452 3 mbz bit (32) unaligned;
453
454
455
456
457 dcl (LOGIN_REQ initial (1),
458 ENTER_REQ initial (2),
459 ENTERP_REQ initial (3),
460 CREATE_REQ initial (4),
461 DESTROY_REQ initial (5),
462 CONNECT_REQ initial (6),
463 NEW_PROC_REQ initial (7),
464 LIST_REQ initial (8))
465 fixed bin internal static options (constant);
466
467
468
469
470
471 dcl (NETWORK_CONNECTION_LOGIN initial (1),
472 NETWORK_CONNECTION_DSA_FILE_TRANSFER initial (2))
473 fixed bin internal static options (constant);
474
475