COMPILATION LISTING OF SEGMENT dfast_run_ Compiled by: Multics PL/I Compiler, Release 27d, of October 11, 1982 Compiled at: Honeywell LISD Phoenix, System M Compiled on: 11/04/82 1556.0 mst Thu Options: optimize map 1 /* *********************************************************** 2* * * 3* * Copyright, (C) Honeywell Information Systems Inc., 1982 * 4* * * 5* *********************************************************** */ 6 dfast_run_: proc (edit_info_ptr, code); 7 8 /* * This procedure execute the run command. The alter and current segments are merged before the run unit manager 9* * is called. 10**/ 11 12 /* parameters */ 13 14 dcl edit_info_ptr ptr; 15 dcl code fixed bin (35); 16 17 /* automatic */ 18 19 dcl directory_name char (168); 20 dcl directory_name_length fixed bin; /* number non-blank characters in directory name */ 21 dcl entry_name char (32); 22 dcl compiler_name char (8) aligned; /* "basic" or "fortran" */ 23 dcl substr builtin; 24 25 /* constant */ 26 27 28 /* based */ 29 30 dcl 1 f aligned based (edit_info_ptr) like dfast_edit_info; 31 32 33 /* external */ 34 35 dcl basic_$precision_length ext fixed bin; 36 dcl dfast_error_ entry (fixed bin (35), char (*), char (*)); 37 dcl dfast_merge_ entry (bit (1) unal, ptr, fixed bin (35)); 38 dcl hcs_$fs_get_path_name entry (ptr, char (*), fixed bin, char (*), fixed bin (35)); 39 dcl dfast_run_unit_manager_ entry (char (8) aligned, ptr, fixed bin (24), char (168) aligned, bit (1) aligned, fixed bin (35)); 40 41 /* */ 1 1 /* BEGIN INCLUDE FILE -- dfast_edit_info.incl.pl1 1 2* written 5/75 by S.E.Barr 1 3**/ 1 4 dcl 1 dfast_edit_info aligned based (edit_info_ptr), 1 5 2 flags aligned, 1 6 3 brief_mode bit (1) unal, /* ON if short messages to be used */ 1 7 3 build_mode bit (1) unal, /* On if in build mode */ 1 8 3 source_segment bit (1) unal, /* ON if segment is source */ 1 9 3 edit_done bit (1) unal, /* ON if current segment has been edited since save */ 1 10 3 basic_system bit (1) unal, /* ON if basic, OFF if fortran */ 1 11 3 caps_mode bit (1) unal, /* ON if running in CAPS mode */ 1 12 3 dbasic bit (1) unal, /* ON if double prec basic */ 1 13 3 pad bit (29) unal, 1 14 2 system_info aligned, 1 15 3 max_seg_size fixed bin (21), /* maximum segment size in characters */ 1 16 3 user_name char (32) aligned, /* person id */ 1 17 3 tty_id char (6) unal, /* terminal id of the form "ttynnn" */ 1 18 3 current_name char (256) var aligned, /* name of current segment */ 1 19 3 current_length fixed bin (21), /* length in characters of current segment */ 1 20 3 alter_length fixed bin (21), /* length in characters of the alter segment */ 1 21 3 current_ptr ptr, /* ptr to current segment */ 1 22 3 alter_ptr ptr, 1 23 3 home_dir char (168) var, /* home directory from pit */ 1 24 3 user_id char (32) var, /* login id */ 1 25 3 project_id char (32) var, /* login home directory */ 1 26 3 source_directory char (168) aligned, /* directory of where the source was. For COMPILE. */ 1 27 3 source_entryname char (32); /* name of the source. For COMPILE. */ 1 28 1 29 /* END INCLUDE FILE -- dfast_edit_info.incl.pl1 */ 42 2 1 /* BEGIN INCLUDE ... dfast_error_codes.incl.pl1 */ 2 2 2 3 dcl error_alt_empty fixed bin (35) int static init (1)options (constant); 2 4 dcl error_max_size fixed bin (35) int static init (2)options (constant); 2 5 dcl error_cur_empty fixed bin (35) int static init (3)options (constant); 2 6 dcl error_not_saved fixed bin (35) int static init (4)options (constant); 2 7 dcl error_name_dup fixed bin (35) int static init (5)options (constant); 2 8 dcl error_long_rec fixed bin (35) int static init (6)options (constant); 2 9 dcl error_unknown_arg fixed bin (35) int static init (7)options (constant); 2 10 dcl error_no_expl fixed bin (35) int static init (8)options (constant); 2 11 dcl error_bad_name fixed bin (35) int static init (9)options (constant); 2 12 dcl error_bad_req fixed bin (35) int static init (10)options (constant); 2 13 dcl error_syntax_string fixed bin (35) int static init (11)options (constant); 2 14 dcl error_name_miss fixed bin (35) int static init (12)options (constant); 2 15 dcl error_no_comp fixed bin (35) int static init (13)options (constant); 2 16 dcl error_no_main fixed bin (35) int static init (14)options (constant); 2 17 dcl error_block_spec fixed bin (35) int static init (15)options (constant); 2 18 dcl error_obj_nop fixed bin (35) int static init (16)options (constant); 2 19 dcl error_sav_cur fixed bin (35) int static init (17)options (constant); 2 20 dcl error_bad_type fixed bin (35) int static init (18)options (constant); 2 21 dcl error_unkn_sys fixed bin (35) int static init (19)options (constant); 2 22 dcl error_no_suffix fixed bin (35) int static init (20)options (constant); 2 23 dcl error_no_nl fixed bin (35) int static init (21)options (constant); 2 24 dcl error_bad_sort fixed bin (35) int static init (22)options (constant); 2 25 dcl error_no_num fixed bin (35) int static init (23)options (constant); 2 26 dcl error_line_miss fixed bin (35) int static init (24)options (constant); 2 27 dcl error_request_miss fixed bin (35) int static init (25)options (constant); 2 28 dcl error_bad_line fixed bin (35) int static init (26)options (constant); 2 29 dcl error_no_string fixed bin (35) int static init (27)options (constant); 2 30 dcl error_line_order fixed bin (35) int static init (28)options (constant); 2 31 dcl error_max_lines fixed bin (35) int static init (29)options (constant); 2 32 dcl error_bad_pathname fixed bin (35) int static init (30)options (constant); 2 33 dcl error_access_mode fixed bin (35) int static init (31)options (constant); 2 34 dcl error_delimiter_miss fixed bin (35) int static init (32)options (constant); 2 35 dcl error_size_fixed_record fixed bin (35) int static init (33)options (constant); 2 36 dcl error_bad_rec_len fixed bin (35) int static init (34)options (constant); 2 37 dcl error_string_size fixed bin (35) int static init (35)options (constant); 2 38 dcl error_max_line_number fixed bin (35) int static init (36)options (constant); 2 39 dcl error_max_args fixed bin (35) int static init (37)options (constant); 2 40 dcl error_name_sys fixed bin (35) int static init (38)options (constant); 2 41 dcl error_dprint_map fixed bin (35) int static init (39)options (constant); 2 42 dcl error_max_num fixed bin (35) int static options (constant) init (40); 2 43 dcl error_edit_max_num fixed bin (35) int static options (constant) init (41); 2 44 dcl error_un_num_text fixed bin (35) int static options (constant) init (42); 2 45 dcl error_no_new_line fixed bin (35) int static options (constant) init (43); 2 46 2 47 /* END INCLUDE ... dfast_error_codes.incl.pl1 */ 43 44 /* */ 45 if f.source_segment then if f.alter_length > 0 then call dfast_merge_ ("0"b, edit_info_ptr, code); 46 if code = 0 then do; 47 if f.basic_system then do; 48 if f.dbasic then do; 49 compiler_name = "dbasic"; 50 basic_$precision_length = 2; 51 end; 52 else do; 53 compiler_name = "basic"; 54 basic_$precision_length = 1; 55 end; 56 end; 57 else compiler_name = "fortran"; 58 59 if f.current_length ^= 0 then do; 60 call hcs_$fs_get_path_name (f.current_ptr, directory_name, directory_name_length, 61 entry_name, code); 62 if code = 0 then do; 63 call dfast_run_unit_manager_ (compiler_name, f.current_ptr, f.current_length * 9, 64 substr (directory_name, 1, directory_name_length) || entry_name, "0"b, code); 65 end; 66 end; 67 else code = error_cur_empty; 68 end; 69 70 if code ^= 0 then call dfast_error_ (code, "run", (f.current_name)); 71 72 return; 73 74 end dfast_run_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 11/04/82 1552.6 dfast_run_.pl1 >spec>on>comp-dir>dfast_run_.pl1 42 1 03/27/82 0439.4 dfast_edit_info.incl.pl1 >ldd>include>dfast_edit_info.incl.pl1 43 2 03/27/82 0439.4 dfast_error_codes.incl.pl1 >ldd>include>dfast_error_codes.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. alter_length 117 based fixed bin(21,0) level 3 dcl 30 ref 45 basic_$precision_length 000010 external static fixed bin(17,0) dcl 35 set ref 50* 54* basic_system 0(04) based bit(1) level 3 packed unaligned dcl 30 ref 47 code parameter fixed bin(35,0) dcl 15 set ref 6 45* 46 60* 62 63* 67* 70 70* compiler_name 000164 automatic char(8) dcl 22 set ref 49* 53* 57* 63* current_length 116 based fixed bin(21,0) level 3 dcl 30 ref 59 63 current_name 15 based varying char(256) level 3 dcl 30 ref 70 current_ptr 120 based pointer level 3 dcl 30 set ref 60* 63* dbasic 0(06) based bit(1) level 3 packed unaligned dcl 30 ref 48 dfast_edit_info based structure level 1 dcl 1-4 dfast_error_ 000012 constant entry external dcl 36 ref 70 dfast_merge_ 000014 constant entry external dcl 37 ref 45 dfast_run_unit_manager_ 000020 constant entry external dcl 39 ref 63 directory_name 000100 automatic char(168) unaligned dcl 19 set ref 60* 63 directory_name_length 000152 automatic fixed bin(17,0) dcl 20 set ref 60* 63 edit_info_ptr parameter pointer dcl 14 set ref 6 45 45 45* 47 48 59 60 63 63 70 entry_name 000153 automatic char(32) unaligned dcl 21 set ref 60* 63 error_cur_empty constant fixed bin(35,0) initial dcl 2-5 ref 67 f based structure level 1 dcl 30 flags based structure level 2 dcl 30 hcs_$fs_get_path_name 000016 constant entry external dcl 38 ref 60 source_segment 0(02) based bit(1) level 3 packed unaligned dcl 30 ref 45 substr builtin function dcl 23 ref 63 system_info 2 based structure level 2 dcl 30 NAMES DECLARED BY DECLARE STATEMENT AND NEVER REFERENCED. error_access_mode internal static fixed bin(35,0) initial dcl 2-33 error_alt_empty internal static fixed bin(35,0) initial dcl 2-3 error_bad_line internal static fixed bin(35,0) initial dcl 2-28 error_bad_name internal static fixed bin(35,0) initial dcl 2-11 error_bad_pathname internal static fixed bin(35,0) initial dcl 2-32 error_bad_rec_len internal static fixed bin(35,0) initial dcl 2-36 error_bad_req internal static fixed bin(35,0) initial dcl 2-12 error_bad_sort internal static fixed bin(35,0) initial dcl 2-24 error_bad_type internal static fixed bin(35,0) initial dcl 2-20 error_block_spec internal static fixed bin(35,0) initial dcl 2-17 error_delimiter_miss internal static fixed bin(35,0) initial dcl 2-34 error_dprint_map internal static fixed bin(35,0) initial dcl 2-41 error_edit_max_num internal static fixed bin(35,0) initial dcl 2-43 error_line_miss internal static fixed bin(35,0) initial dcl 2-26 error_line_order internal static fixed bin(35,0) initial dcl 2-30 error_long_rec internal static fixed bin(35,0) initial dcl 2-8 error_max_args internal static fixed bin(35,0) initial dcl 2-39 error_max_line_number internal static fixed bin(35,0) initial dcl 2-38 error_max_lines internal static fixed bin(35,0) initial dcl 2-31 error_max_num internal static fixed bin(35,0) initial dcl 2-42 error_max_size internal static fixed bin(35,0) initial dcl 2-4 error_name_dup internal static fixed bin(35,0) initial dcl 2-7 error_name_miss internal static fixed bin(35,0) initial dcl 2-14 error_name_sys internal static fixed bin(35,0) initial dcl 2-40 error_no_comp internal static fixed bin(35,0) initial dcl 2-15 error_no_expl internal static fixed bin(35,0) initial dcl 2-10 error_no_main internal static fixed bin(35,0) initial dcl 2-16 error_no_new_line internal static fixed bin(35,0) initial dcl 2-45 error_no_nl internal static fixed bin(35,0) initial dcl 2-23 error_no_num internal static fixed bin(35,0) initial dcl 2-25 error_no_string internal static fixed bin(35,0) initial dcl 2-29 error_no_suffix internal static fixed bin(35,0) initial dcl 2-22 error_not_saved internal static fixed bin(35,0) initial dcl 2-6 error_obj_nop internal static fixed bin(35,0) initial dcl 2-18 error_request_miss internal static fixed bin(35,0) initial dcl 2-27 error_sav_cur internal static fixed bin(35,0) initial dcl 2-19 error_size_fixed_record internal static fixed bin(35,0) initial dcl 2-35 error_string_size internal static fixed bin(35,0) initial dcl 2-37 error_syntax_string internal static fixed bin(35,0) initial dcl 2-13 error_un_num_text internal static fixed bin(35,0) initial dcl 2-44 error_unkn_sys internal static fixed bin(35,0) initial dcl 2-21 error_unknown_arg internal static fixed bin(35,0) initial dcl 2-9 NAME DECLARED BY EXPLICIT CONTEXT. dfast_run_ 000022 constant entry external dcl 6 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 354 376 255 364 Length 602 255 22 167 77 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME dfast_run_ 194 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME dfast_run_ 000100 directory_name dfast_run_ 000152 directory_name_length dfast_run_ 000153 entry_name dfast_run_ 000164 compiler_name dfast_run_ 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. dfast_error_ dfast_merge_ dfast_run_unit_manager_ hcs_$fs_get_path_name THE FOLLOWING EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. basic_$precision_length LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 6 000016 45 000027 46 000053 47 000056 48 000062 49 000065 50 000067 51 000072 53 000073 54 000075 56 000100 57 000101 59 000103 60 000106 62 000137 63 000142 65 000207 66 000210 67 000211 70 000213 72 000253 ----------------------------------------------------------- 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