COMPILATION LISTING OF SEGMENT get_system_search_rules Compiled by: Multics PL/I Compiler, Release 27d, of October 11, 1982 Compiled at: Honeywell LISD Phoenix, System M Compiled on: 11/04/82 1643.0 mst Thu Options: optimize map 1 /* *********************************************************** 2* * * 3* * Copyright, (C) Honeywell Information Systems Inc., 1982 * 4* * * 5* * Copyright (c) 1972 by Massachusetts Institute of * 6* * Technology and Honeywell Information Systems, Inc. * 7* * * 8* *********************************************************** */ 9 10 11 get_system_search_rules: gssr: proc; 12 13 /* get_system_search_rules - get current default search rules and keywords. 14* 15* Written by THVV 7/76 */ 16 17 xsp = addr (temp); /* Initialization. Find input structure for hardcore */ 18 call hcs_$get_system_search_rules (addr (temp), ec); 19 if ec ^= 0 then do; 20 call com_err_ (ec, "get_system_search_rules", ""); 21 return; 22 end; 23 24 do i = 1 to dft_sr_arg.nrules; 25 line = dft_sr_arg.rules (i).name; 26 do j = 1 to dft_sr_arg.ntags; 27 if (dft_sr_arg.rules (i).flag & dft_sr_arg.tags (j).flag) ^= "0"b then do; 28 k = length (line) + 2 - verify (reverse (line), " "); 29 substr (line, k) = ", " || dft_sr_arg.tags (j).name; 30 end; 31 end; 32 call ioa_ ("^a", line); 33 end; 34 35 return; /* All done */ 36 37 dcl ec fixed bin (35); 38 dcl (i, j, k) fixed bin, 39 line char (256); 40 41 dcl com_err_ entry options (variable); 42 dcl ioa_ entry options (variable); 43 dcl hcs_$get_system_search_rules entry (ptr, fixed bin (35)); 44 45 dcl null builtin; 46 47 dcl 1 temp aligned like dft_sr_arg; 48 1 1 /* BEGIN INCLUDE FILE ... system_dft_sr.incl.pl1 */ 1 2 1 3 dcl xsp ptr; 1 4 dcl 1 dft_sr_arg based (xsp) aligned, 1 5 2 ntags fixed bin, 1 6 2 nrules fixed bin, 1 7 2 tags (10), 1 8 3 name char (32), 1 9 3 flag bit (36), 1 10 2 rules (50), 1 11 3 name char (168), 1 12 3 flag bit (36); 1 13 1 14 /* END INCLUDE FILE ... system_dft_sr.incl.pl1 */ 49 50 51 end get_system_search_rules; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 11/04/82 1613.6 get_system_search_rules.pl1 >dumps>old>recomp>get_system_search_rules.pl1 49 1 03/10/77 1345.4 system_dft_sr.incl.pl1 >ldd>include>system_dft_sr.incl.pl1 NAMES DECLARED IN THIS COMPILATION. IDENTIFIER OFFSET LOC STORAGE CLASS DATA TYPE ATTRIBUTES AND REFERENCES (* indicates a set context) NAMES DECLARED BY DECLARE STATEMENT. com_err_ 000010 constant entry external dcl 41 ref 20 dft_sr_arg based structure level 1 dcl 1-4 ec 000100 automatic fixed bin(35,0) dcl 37 set ref 18* 19 20* flag 12 based bit(36) array level 3 in structure "dft_sr_arg" dcl 1-4 in procedure "gssr" ref 27 flag 206 based bit(36) array level 3 in structure "dft_sr_arg" dcl 1-4 in procedure "gssr" ref 27 hcs_$get_system_search_rules 000014 constant entry external dcl 43 ref 18 i 000101 automatic fixed bin(17,0) dcl 38 set ref 24* 25 27* ioa_ 000012 constant entry external dcl 42 ref 32 j 000102 automatic fixed bin(17,0) dcl 38 set ref 26* 27 29* k 000103 automatic fixed bin(17,0) dcl 38 set ref 28* 29 line 000104 automatic char(256) unaligned dcl 38 set ref 25* 28 28 29* 32* name 2 based char(32) array level 3 in structure "dft_sr_arg" dcl 1-4 in procedure "gssr" ref 29 name 134 based char(168) array level 3 in structure "dft_sr_arg" dcl 1-4 in procedure "gssr" ref 25 nrules 1 based fixed bin(17,0) level 2 dcl 1-4 ref 24 ntags based fixed bin(17,0) level 2 dcl 1-4 ref 26 rules 134 based structure array level 2 dcl 1-4 tags 2 based structure array level 2 dcl 1-4 temp 000204 automatic structure level 1 dcl 47 set ref 17 18 18 xsp 004506 automatic pointer dcl 1-3 set ref 17* 24 25 26 27 27 29 NAME DECLARED BY DECLARE STATEMENT AND NEVER REFERENCED. null builtin function dcl 45 NAMES DECLARED BY EXPLICIT CONTEXT. get_system_search_rules 000023 constant entry external dcl 11 gssr 000014 constant entry external dcl 11 NAMES DECLARED BY CONTEXT OR IMPLICATION. addr builtin function ref 17 18 18 length builtin function ref 28 reverse builtin function ref 28 substr builtin function ref 29 verify builtin function ref 28 STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 272 310 216 302 Length 500 216 16 154 54 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME gssr 2402 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME gssr 000100 ec gssr 000101 i gssr 000102 j gssr 000103 k gssr 000104 line gssr 000204 temp gssr 004506 xsp gssr THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. alloc_cs call_ext_out_desc call_ext_out return shorten_stack ext_entry THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. com_err_ hcs_$get_system_search_rules ioa_ NO EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 11 000013 17 000030 18 000032 19 000044 20 000046 21 000072 24 000073 25 000103 26 000111 27 000120 28 000131 29 000146 30 000170 31 000171 32 000173 33 000212 35 000214 ----------------------------------------------------------- Historical Background This edition of the Multics software materials and documentation is provided and donated to Massachusetts Institute of Technology by Group BULL including BULL HN Information Systems Inc. as a contribution to computer science knowledge. This donation is made also to give evidence of the common contributions of Massachusetts Institute of Technology, Bell Laboratories, General Electric, Honeywell Information Systems Inc., Honeywell BULL Inc., Groupe BULL and BULL HN Information Systems Inc. to the development of this operating system. Multics development was initiated by Massachusetts Institute of Technology Project MAC (1963-1970), renamed the MIT Laboratory for Computer Science and Artificial Intelligence in the mid 1970s, under the leadership of Professor Fernando Jose Corbato. Users consider that Multics provided the best software architecture for managing computer hardware properly and for executing programs. Many subsequent operating systems incorporated Multics principles. Multics was distributed in 1975 to 2000 by Group Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as successor in interest by change in name only to Honeywell Bull Inc. and Honeywell Information Systems Inc. . ----------------------------------------------------------- Permission to use, copy, modify, and distribute these programs and their documentation for any purpose and without fee is hereby granted,provided that the below copyright notice and historical background appear in all copies and that both the copyright notice and historical background and this permission notice appear in supporting documentation, and that the names of MIT, HIS, BULL or BULL HN not be used in advertising or publicity pertaining to distribution of the programs without specific prior written permission. Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information Systems Inc. Copyright 2006 by BULL HN Information Systems Inc. Copyright 2006 by Bull SAS All Rights Reserved