1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 dcl AsciP ptr;
23
24 dcl code fixed bin(35);
25
26 dcl (F init("0"b), T init("1"b)) bit(1) aligned int static options(constant);
27
28
29 dcl ssu_$abort_line entry() options(variable);
30 dcl ssu_$abort_subsystem entry() options(variable);
31 dcl ssu_$add_request_table entry (ptr, ptr, fixed bin, fixed bin(35));
32 dcl ssu_$create_invocation entry (char(*), char(*), ptr, ptr, char(*), ptr, fixed bin(35));
33 dcl ssu_$delete_request_table entry (ptr, ptr, fixed bin(35));
34 dcl ssu_$destroy_invocation entry (ptr);
35 dcl ssu_$execute_line entry (ptr, ptr, fixed bin(21), fixed bin(35));
36 dcl ssu_$execute_string entry (ptr, char(*), fixed bin(35));
37 dcl ssu_$get_area entry (ptr, ptr, char(*), ptr);
38 dcl ssu_$get_info_ptr entry (ptr) returns(ptr);
39 dcl ssu_$get_request_name entry (ptr) returns(char(32));
40 dcl ssu_$get_subsystem_name entry (ptr) returns(char(32));
41 dcl ssu_$get_subsystem_and_request_name entry (ptr) returns(char(72) var);
42 dcl ssu_$get_temp_segment entry (ptr, char(*), ptr);
43 dcl ssu_$listen entry (ptr, ptr, fixed bin(35));
44 dcl ssu_$print_message entry() options(variable);
45 dcl ssu_$set_info_ptr entry (ptr, ptr);
46 dcl ssu_$set_prompt_mode entry (ptr, bit(*));
47 dcl ssu_$set_request_tables entry (ptr, ptr, fixed bin(35));
48 dcl ssu_$standalone_invocation entry (ptr, char(*), char(*), ptr, entry, fixed bin(35));
49
50
51 standalone_cleanup_handler:
52 proc(AisStandalone, AsciP);
53
54 dcl AisStandalone bit(1) aligned;
55 dcl AsciP ptr;
56
57 if AisStandalone then do;
58 call ssu_$destroy_invocation (AsciP);
59 AisStandalone = F;
60 end;
61 return;
62
63 end standalone_cleanup_handler;
64
65