COMPILATION LISTING OF SEGMENT cobol_make_merge_file Compiled by: Multics PL/I Compiler, Release 31b, of April 24, 1989 Compiled at: Bull HN, Phoenix AZ, System-M Compiled on: 05/24/89 0946.2 mst Wed Options: optimize map 1 /****^ *********************************************************** 2* * * 3* * Copyright, (C) BULL HN Information Systems Inc., 1989 * 4* * * 5* * Copyright, (C) Honeywell Information Systems Inc., 1982 * 6* * * 7* * Copyright (c) 1972 by Massachusetts Institute of * 8* * Technology and Honeywell Information Systems, Inc. * 9* * * 10* *********************************************************** */ 11 12 13 14 15 /****^ HISTORY COMMENTS: 16* 1) change(89-04-23,Zimmerman), approve(89-04-23,MCR8082), 17* audit(89-05-05,RWaters), install(89-05-24,MR12.3-1048): 18* MCR8082 cobol_make_merge_file.pl1 Fix wild array subscript. 19* END HISTORY COMMENTS */ 20 21 22 /* Modified on 02/22/85 by FCH, [5.3-1], dont clobber fixed common, BUG561 */ 23 /* Modified on 02/20/85 by FCH, [5.3...], Trace added */ 24 /* Modified on 11/23/76 by Bob Chang to change the external bit of merge file table. */ 25 /* Created on 11/17/76 by Bob Chang to set up the temporary merge file. */ 26 27 28 29 30 31 /* format: style3 */ 32 cobol_make_merge_file: 33 proc (name_ptr, file_ptr, type12_ptr, type9_ptr); 34 35 dcl name_ptr ptr, 36 dn_ptr ptr, 37 ft_ptr_save (20) ptr static, 38 first_call fixed bin static init (0), 39 merge_count fixed bin static, 40 ft_ptr ptr; 41 dcl stop_bit bit (1), 42 temp_id char (5), 43 temp_no fixed bin, 44 status_code fixed bin (35), 45 (i, j) fixed bin, 46 rec_id char (5); 47 dcl 1 temp_type9 static, 48 2 header (4) fixed bin init (112, 0, 0, 9), 49 2 repl_ptr (2) ptr init ((2) null ()), 50 2 fill1 bit (108) init (""b), 51 2 file_key_info, 52 3 fb1 (3) fixed bin init (0, 0, 0), 53 3 size fixed bin init (0), 54 3 fb2 (2) fixed bin init (0, 0), 55 3 flags1 bit (36) init ("000000100100000000010000000100000000"b), 56 3 flags2 bit (36) init (""b), 57 3 seg fixed bin init (0), 58 3 off fixed bin, 59 2 fill2 (7) fixed bin init (0, 0, 0, 0, 0, 0, 0); 60 dcl temp_type12 char (60), 61 (merge_ft_ptr, merge_file_ptr) 62 ptr, 63 temp_file_ptr (20) ptr static, 64 temp_type12_ptr (20) ptr static, 65 (file_ptr, type12_ptr, type9_ptr) 66 ptr, 67 temp_based char (1024) based, 68 temp_file char (1024), 69 temp_type9_ptr (20) ptr static; 70 71 dcl cobol_read_rand entry (fixed bin, char (5), ptr), 72 cobol_read_ft entry (fixed bin, ptr), 73 cobol_alloc$stack entry (fixed bin, fixed bin, fixed bin), 74 cobol_io_$cobol_vdwf_sput 75 entry (ptr, fixed bin (35), ptr, fixed bin, char (5)), 76 cobol_make_fsb_link entry (ptr); 77 78 start: /***..... if Trace_Bit then call cobol_gen_driver_$Tr_Beg(MY_NAME);/**/ 79 /*[5.3-1]*/ 80 merge_file_ptr = addrel (cobol_com_ptr, 8 + size (fixed_common)); 81 if first_call = cobol_$compile_count 82 then do i = 1 to merge_count; 83 if ft_ptr_save (i) -> file_table.max_cra_size = temp_file_ptr (i) -> file_table.max_cra_size 84 then do; 85 file_ptr = temp_file_ptr (i); 86 type9_ptr = temp_type9_ptr (i); 87 type12_ptr = temp_type12_ptr (i); 88 go to mfex; 89 end; 90 end; 91 else do; 92 merge_count = 0; 93 first_call = cobol_$compile_count; 94 end; 95 96 merge_count = merge_count + 1; 97 i = fd_token.file_no; 98 call cobol_read_ft (i, ft_ptr_save (merge_count)); 99 100 temp_type12_ptr (merge_count) = addr (temp_type12); 101 temp_file_ptr (merge_count) = addr (temp_file); 102 temp_type9_ptr (merge_count) = addr (temp_type9); 103 rec_id = fixed_common.filedescr_offsets (1); 104 stop_bit = "0"b; 105 106 do while (^stop_bit); 107 call cobol_read_rand (1, rec_id, ft_ptr); 108 rec_id = file_table.next; 109 if rec_id = "00000" 110 then stop_bit = "1"b; 111 end; 112 113 substr (temp_type12, 1, 60) = substr (name_ptr -> temp_based, 1, 60); 114 temp_no = file_table.file_no + 1; 115 temp_type12_ptr (merge_count) -> fd_token.file_no = temp_no; 116 i = fd_token.file_no; 117 call cobol_read_ft (i, merge_ft_ptr); 118 119 substr (temp_file, 1, 1024) = substr (merge_ft_ptr -> temp_based, 1, 1024); 120 /*[5.3-1]*/ 121 call cobol_io_$cobol_vdwf_sput (merge_file_ptr, status_code, addr (temp_file), 1024, temp_id); 122 123 file_table.next = temp_id; 124 if temp_no <= 20 125 then fixed_common.filedescr_offsets (temp_no) = temp_id; 126 call cobol_read_rand (1, temp_id, ft_ptr); 127 128 /* setup temporary file table. */ 129 file_table.temp = "1"b; 130 file_table.ao_len = 0; 131 file_table.cat_nm = "cobol_temp_merge_file_"; 132 file_table.id = "cobol_temp_merge_switch_"; 133 file_table.device = 6; 134 file_table.catalogued = 0; 135 file_table.ifn = "cobol_merge_ifn_"; 136 file_table.external = "1"b; 137 file_table.file_status = "0"b; 138 file_table.extra_status = "0"b; 139 file_table.cra_seg = 1000; 140 i = file_table.max_cra_size; 141 file_table.file_no = temp_no; 142 file_table.max_cra_size = ft_ptr_save (merge_count) -> file_table.max_cra_size; 143 file_table.rec_do = ft_ptr_save (merge_count) -> file_table.rec_do; 144 call cobol_alloc$stack (i, 2, j); 145 146 file_table.cra_offset = j * 4; 147 cobol_$init_stack_off = cobol_$stack_off; 148 149 call cobol_make_fsb_link (ft_ptr); 150 151 temp_file_ptr (merge_count) = ft_ptr; 152 temp_type12_ptr (merge_count) -> fd_token.type = 12; 153 temp_type9_ptr (merge_count) -> data_name.seg_num = file_table.cra_seg; 154 temp_type9_ptr (merge_count) -> data_name.offset = file_table.cra_offset; 155 temp_type9_ptr (merge_count) -> data_name.file_num = file_table.file_no; 156 temp_type9_ptr (merge_count) -> data_name.item_length = file_table.max_cra_size; 157 158 /*[5.3-1]*/ 159 call cobol_io_$cobol_vdwf_sput (merge_file_ptr, status_code, temp_type9_ptr (merge_count), 112, temp_id); 160 call cobol_read_rand (1, temp_id, temp_type9_ptr (merge_count)); 161 /*[5.3-1]*/ 162 call cobol_io_$cobol_vdwf_sput (merge_file_ptr, status_code, temp_type12_ptr (merge_count), 60, temp_id); 163 call cobol_read_rand (1, temp_id, temp_type12_ptr (merge_count)); 164 165 file_ptr = temp_file_ptr (merge_count); 166 type12_ptr = temp_type12_ptr (merge_count); 167 type9_ptr = temp_type9_ptr (merge_count); 168 169 mfex: /***..... if Trace_Bit then call cobol_gen_driver_$Tr_End(MY_NAME);/**/ 170 return; 171 172 /***..... dcl cobol_gen_driver_$Tr_Beg entry(char(*));/**/ 173 /***..... dcl cobol_gen_driver_$Tr_End entry(char(*));/**/ 174 175 /***..... dcl Trace_Bit bit(1) static external;/**/ 176 /***..... dcl Trace_Lev fixed bin static external;/**/ 177 /***..... dcl Trace_Line char(36) static external;/**/ 178 /***..... dcl ioa_ entry options(variable); /**/ 179 /***..... dcl MY_NAME char (21) int static init ("COBOL_MAKE_MERGE_FILE");/**/ 180 181 /***** Declaration for builtin function *****/ 182 183 dcl (substr, mod, binary, fixed, addr, addrel, rel, length, string, unspec, null, size, index) 184 builtin; 185 186 /***** End of declaration for builtin function *****/ 187 188 1 1 1 2 /* BEGIN INCLUDE FILE ... cobol_fixed_common.incl.pl1 */ 1 3 /* Modified on 10/27/82 by FCH, [5.1-1], cobol_cln added to save last line num, BUG543(phx13643) */ 1 4 /* Modified on 07/31/80 by FCH, [4.3-1], use_reporting field added for Report Writer */ 1 5 /* Modified on 03/30/79 by FCH, [4.1-1], -card option added */ 1 6 /* Modified on 03/30/79 by FCH, [4.0-2], -svNM option added */ 1 7 /* Modified on 03/02/79 by FCH, [4.0-1], -levNM option added */ 1 8 /* Modified by RAL on 10/13/78, [4.0-0], Added option exp from fil2. */ 1 9 /* Modified by BC on 06/20/77, descriptor added. */ 1 10 /* Modified by BC on 06/02/77, init_cd_seg, init_cd_offset added. */ 1 11 /* Modified by BC on 1/21/77, options.profile added. */ 1 12 /* Modified by FCH on 7/6/76, sysin_fno & sysout_fno deleted, accept_device & display_device added */ 1 13 /* Modified by FCH on 5/20/77, comp_level added */ 1 14 1 15 1 16 /* THE SIZE OF THIS STRUCTURE IN BYTES, (EXCLUDING VARIABLE 1 17* LENGTH ENTITIES), FOR EACH HARDWARE IMPLEMENTATION IS: 1 18* 1 19* HARDWARE | SIZE (BYTES) 1 20* --------------------------------- 1 21* 645/6180 | 464 1 22* P7 | 396 1 23* --------------------------------- 1 24* */ 1 25 1 26 dcl 1 fixed_common based ( cobol_com_ptr), 1 27 2 prog_name char (30), 1 28 2 compiler_rev_no char (25), 1 29 2 phase_name char (6), 1 30 2 currency char (1), 1 31 2 fatal_no fixed bin, 1 32 2 warn_no fixed bin, 1 33 2 proc_counter fixed bin, 1 34 2 spec_tag_counter fixed bin, 1 35 2 file_count fixed bin, 1 36 2 filedescr_offsets (20) char (5), 1 37 2 perf_alter_info char (5), 1 38 2 another_perform_info char (5), 1 39 2 sort_in_info char (5), 1 40 2 odo_info char (5), 1 41 2 size_seg fixed bin, 1 42 2 size_offset fixed bin(24), 1 43 2 size_perform_info char (5), 1 44 2 rename_info char (5), 1 45 2 report_names char (5), 1 46 2 rw_buf_seg fixed bin, 1 47 2 rw_buf_offset fixed bin(24), 1 48 2 rw_buf_length fixed bin(24), 1 49 2 file_keys char (5), 1 50 2 search_keys char (5), 1 51 2 dd_seg_size fixed bin(24), 1 52 2 pd_seg_size fixed bin(24), 1 53 2 seg_limit fixed bin , 1 54 2 number_of_dd_segs fixed bin, 1 55 2 seg_info char (5), 1 56 2 number_of_ls_pointers fixed bin, 1 57 2 link_sec_seg fixed bin, 1 58 2 link_sec_offset fixed bin(24), 1 59 2 sra_clauses fixed bin, 1 60 2 fix_up_info char (5), 1 61 2 linage_info char (5), 1 62 2 first_dd_item char (5), 1 63 2 sort_out_info char (5), 1 64 2 db_info char (5), 1 65 2 realm_info char (5), 1 66 2 rc_realm_info char (5), 1 67 2 last_file_key char (5), 1 68 2 prog_coll_seq fixed bin, 1 69 2 init_cd_seg fixed bin, 1 70 2 init_cd_offset fixed bin(24), 1 71 2 input_error_exit fixed bin, 1 72 2 output_error_exit fixed bin, 1 73 2 i_o_error_exit fixed bin, 1 74 2 extend_error_exit fixed bin, 1 75 2 dummy15 fixed bin, 1 76 2 options, 1 77 3 cu bit (1), 1 78 3 st bit (1), 1 79 3 wn bit (1), 1 80 3 obs bit (1), 1 81 3 dm bit (1), 1 82 3 xrl bit (1), 1 83 3 xrn bit (1), 1 84 3 src bit (1), 1 85 3 obj bit (1), 1 86 3 exs bit (1), 1 87 3 sck bit (1), 1 88 3 rno bit (1), 1 89 3 u_l bit (1), 1 90 3 cnv bit (1), 1 91 3 cos bit (1), 1 92 3 fmt bit (1), 1 93 3 profile bit(1), 1 94 3 nw bit (1), 1 95 3 exp bit (1), /* [4.0-0] */ 1 96 3 card bit (1), /*[4.1-1]*/ 1 97 3 fil2 bit (5), 1 98 3 m_map bit (1), 1 99 3 m_bf bit (1), 1 100 3 m_fat bit (1), 1 101 3 m_wn bit (1), 1 102 3 m_obs bit(1), 1 103 3 pd bit(1), 1 104 3 oc bit(1), 1 105 2 supervisor bit (1), 1 106 2 dec_comma bit (1), 1 107 2 init_cd bit (1), 1 108 2 corr bit (1), 1 109 2 initl bit (1), 1 110 2 debug bit (1), 1 111 2 report bit (1), 1 112 2 sync_in_prog bit (1), 1 113 2 pd_section bit (1), 1 114 2 list_switch bit (1), 1 115 2 alpha_cond bit (1), 1 116 2 num_cond bit (1), 1 117 2 spec_sysin bit (1), 1 118 2 spec_sysout bit (1), 1 119 2 cpl_files bit (1), 1 120 2 obj_dec_comma bit (1), 1 121 2 default_sign_type bit (3), 1 122 2 use_debug bit(1), 1 123 2 syntax_trace bit(1), 1 124 2 comp_defaults, 1 125 3 comp bit(1), 1 126 3 comp_1 bit(1), 1 127 3 comp_2 bit(1), 1 128 3 comp_3 bit(1), 1 129 3 comp_4 bit(1), 1 130 3 comp_5 bit(1), 1 131 3 comp_6 bit(1), 1 132 3 comp_7 bit(1), 1 133 3 comp_8 bit(1), 1 134 2 disp_defaults, 1 135 3 disp bit(1), 1 136 3 disp_1 bit(1), 1 137 3 disp_2 bit(1), 1 138 3 disp_3 bit(1), 1 139 3 disp_4 bit(1), 1 140 3 disp_5 bit(1), 1 141 3 disp_6 bit(1), 1 142 3 disp_7 bit(1), 1 143 2 descriptor bit(2), 1 144 2 levsv bit(3), /*[4.0-1]*/ 1 145 2 use_reporting bit(1), /*[4.3-1]*/ 1 146 2 cd bit(1), /*[4.4-1]*/ 1 147 2 dummy17 bit(3), 1 148 2 lvl_rstr bit(32), 1 149 2 inst_rstr bit(32), 1 150 2 comp_level char(1), 1 151 2 dummy18 char(30), 1 152 2 object_sign char (1), 1 153 2 last_print_rec char (5), 1 154 2 coll_seq_info char (5), 1 155 2 sys_status_seg fixed bin, 1 156 2 sys_status_offset fixed bin(24), 1 157 2 compiler_id fixed bin, 1 158 2 date_comp_ln fixed bin, 1 159 2 compile_mode bit(36), 1 160 2 default_temp fixed bin, 1 161 2 accept_device fixed bin, 1 162 2 display_device fixed bin, 1 163 2 cobol_cln fixed bin, /*[5.1-1]*/ 1 164 2 alphabet_offset fixed bin; 1 165 1 166 1 167 1 168 /* END INCLUDE FILE ... cobol_fixed_common.incl.pl1 */ 1 169 189 190 2 1 2 2 /* BEGIN INCLUDE FILE ... cobol_file_table.incl.pl1 */ 2 3 /* <<< INCLUDE FILE FOR FILE TABLE IN COMMON >>> */ 2 4 2 5 /* Modified on 09/30/80 by FCH, [4.4-1], density is 6250 is supported */ 2 6 /* Modified on 12/05/78 by RAL, [3.0-3], added dupl_alt from dummy102 */ 2 7 /* Modified on 11/21/78 by RAL, [3.0-2], added space for abs_record_offset from filler */ 2 8 /* Modified on 10/26/78 by RAL, [3.0-1], added space for file_desc_1 table offset from filler */ 2 9 /* <<< LAST MODIFIED ON 06-02-77 by GM >>> */ 2 10 /* <<< LAST MODIFIED ON 05-31-77 by GM >>> */ 2 11 /* <<< LAST MODIFIED ON 06-30-76 by GM >>> */ 2 12 /* <<< LAST MODIFIED ON 06-07-76 by GM >>> */ 2 13 /* <<< LAST MODIFIED ON 11-29-74 by orn >>> */ 2 14 2 15 /* 2 16*A file table is created in variable common for each file selected in the 2 17*environment division. The fields of a given file table provide information 2 18*about the specific file for which the file table is generated. The 2 19*addresses which may be contained in the various "info" fields of the file 2 20*table are addresses in variable common. 2 21**/ 2 22 2 23 /* THE FILE TABLE STRUCTURE */ 2 24 2 25 dcl 1 file_table based (ft_ptr), 2 26 2 next char (5), 2 27 2 ifn char (16), 2 28 2 attach_options_info char(5), /*06/02/77*/ 2 29 2 replacement_info char(5), /*06/02/77*/ 2 30 2 file_id_info char(5), /*05/31/77*/ 2 31 2 retention_info char(5), /*05/31/77*/ 2 32 2 filler0 char (3) , /* [3.0-1] */ 2 33 2 file_desc_1_offset fixed bin (24), /* [3.0-1] */ 2 34 2 abs_record_offset fixed bin (24), /* [3.-02] */ 2 35 2 filler char(5), /* this area is available.*/ 2 36 2 padding_char char (1), 2 37 2 banner_char char (1), 2 38 2 file_status_info char (5), 2 39 2 extra_status_info char (5), 2 40 2 cat_id_info char (5), 2 41 2 r_key_info char (5), 2 42 2 alt_key_info char (5), 2 43 2 rec_do_info char (5), 2 44 2 label_info char (5), 2 45 2 data_info char (5), 2 46 2 report_info char (5), 2 47 2 linage_info char (5), 2 48 2 optional bit (1), /*06/07/76*/ 2 49 2 external bit (1), 2 50 2 file_status bit (1), 2 51 2 extra_status bit (1), 2 52 2 sysin bit (1), 2 53 2 sysout bit (1), 2 54 2 move_mode bit (1), 2 55 2 locate_mode bit (1), 2 56 2 fixed_recs bit (1), 2 57 2 variable_recs bit (1), 2 58 2 spanned_recs bit (1), /*06/07/76*/ 2 59 2 interchange bit (1), /*06/07/76*/ 2 60 2 relative_key bit (1), 2 61 2 record_key bit (1), 2 62 2 even_parity bit (1), 2 63 2 odd_parity bit (1), 2 64 2 padding bit (1), 2 65 2 banner bit (1), 2 66 2 random bit (1), 2 67 2 no_file_lockout bit (1), 2 68 2 no_write_check bit (1), 2 69 2 no_resident_index bit (1), 2 70 2 same_file bit (1), 2 71 2 sort_file bit (1), 2 72 2 rec_do bit (1), 2 73 2 linage bit (1), 2 74 2 code_set_clause bit (1), 2 75 /* history */ 2 76 2 close bit (1), 2 77 2 delete bit (1), 2 78 2 open_in bit (1), 2 79 2 open_out bit (1), 2 80 2 open_io bit (1), 2 81 2 open_ext bit (1), 2 82 2 read bit (1), 2 83 2 release bit (1), 2 84 2 return_bit bit (1), 2 85 2 rewrite bit (1), 2 86 2 sort bit (1), 2 87 2 start bit (1), 2 88 2 use_error bit (1), 2 89 2 write bit (1), 2 90 2 read_next bit (1), 2 91 2 read_key bit (1), 2 92 2 accept bit (1), 2 93 2 display bit (1), 2 94 2 unequal_recs bit (1), 2 95 2 dummy_sysin bit (1), 2 96 2 dummy_sysout bit (1), 2 97 2 file_no fixed bin, 2 98 2 uca_offset fixed bin(24), 2 99 2 cra_seg fixed bin, 2 100 2 cra_offset fixed bin(24), 2 101 2 max_cra_size fixed bin(24), 2 102 2 catalogued fixed bin, 2 103 2 organization fixed bin, 2 104 2 org_qual fixed bin, 2 105 2 access fixed bin, 2 106 2 buffers fixed bin, 2 107 2 device fixed bin, 2 108 2 record_prefix fixed bin, /*06/07/76*/ 2 109 2 alternate_keys fixed bin, 2 110 2 record_format fixed bin, 2 111 2 label_format fixed bin, 2 112 2 key_location fixed bin, 2 113 2 key_size fixed bin, 2 114 2 temporary fixed bin, 2 115 2 address_format fixed bin, 2 116 2 same_area_clause fixed bin, 2 117 2 same_rec_clause fixed bin, 2 118 2 same_sort_clause fixed bin, 2 119 2 mult_clause_no fixed bin, 2 120 2 mult_position_no fixed bin, 2 121 2 block_desc fixed bin, 2 122 2 block_min fixed bin(24), 2 123 2 block_max fixed bin(24), 2 124 2 rec_min fixed bin(24), 2 125 2 rec_max fixed bin(24), 2 126 2 label_count fixed bin, 2 127 2 ifn_size fixed bin, 2 128 2 data_count fixed bin, 2 129 2 report_count fixed bin, 2 130 2 code_set fixed bin, 2 131 2 error_exit fixed bin, 2 132 2 prefix_size fixed bin, 2 133 2 blocked bit (1), 2 134 2 variable bit (1), 2 135 2 unbannered bit (1), 2 136 2 prefix_clause bit (1), 2 137 2 symbolic bit (1), 2 138 2 address_format_bit bit (1), 2 139 2 bsn bit(1), /*06/07/76*/ 2 140 2 process_area bit(1), /*06/07/76*/ 2 141 2 dupl_alt bit (1), /* [3.0-3] */ 2 142 2 dummy102 bit (23), 2 143 2 name_size fixed bin, 2 144 2 name char(32), 2 145 2 id char(32), 2 146 2 temp bit(1) , 2 147 2 perm bit(1) , 2 148 2 attach bit(1) , 2 149 2 detach bit(1) , 2 150 2 fsb , /* file state block */ 2 151 3 seg fixed bin(24), /* internal addr */ 2 152 3 off fixed bin(24), 2 153 2 tape, 2 154 3 density bit(1) , /* 0-hi 1-lo */ 2 155 3 retain bit(1), /* 0 not retained across attachment, 1 retained */ 2 156 3 force bit(1), /* 0 check retention date, 1 no check */ 2 157 3 protect bit(1) , /* 0-no 1-yes */ 2 158 3 den_6250 bit(1), /* 0-no 1-yes */ /*[4.4-1]*/ 2 159 2 cat_nm char(200), 2 160 2 ao_len fixed bin(24), /* attach options */ 2 161 2 ao_string char(256), 2 162 2 output_mode fixed bin, /* 0 not specified 2 163* 1 generation 2 164* 2 modification 2 165* 3 replacement literal 2 166* 4 replacement dataname */ 2 167 2 om_len fixed bin, /* length of output mode */ 2 168 2 om_string char(17), 2 169 2 tape_device fixed bin, /* 0 not specified 2 170* 1 integer 2 171* 2 dataname */ 2 172 2 tape_device_num fixed bin, 2 173 2 tape_device_key char(5), 2 174 2 add_cat_key char(5); 2 175 2 176 2 177 /* END INCLUDE FILE ... cobol_file_table.incl.pl1 */ 2 178 191 192 3 1 3 2 /* BEGIN INCLUDE FILE ... cobol_type12.incl.pl1 */ 3 3 /* Last modified on 11/19/76 by ORN */ 3 4 3 5 /* 3 6*A type 12 file name token is entered into the name table by the data 3 7*division syntax phase for each file name appearing in the data division. 3 8*When the replacement phase processes the procedure division minpral file, 3 9*each reference to a file name is replaced with the type 12 token created 3 10*for that file name. 3 11**/ 3 12 3 13 /* dcl name_ptr ptr; */ 3 14 3 15 /* BEGIN DECLARATION OF TYPE12 (FILE NAME) TOKEN */ 3 16 dcl 1 fd_token based (name_ptr), 4 1 4 2 /* begin include file ... cobol_TYPE12.incl.pl1 */ 4 3 /* Last modified on 11/17/76 by ORN */ 4 4 4 5 /* header */ 4 6 2 size fixed bin, 4 7 2 line fixed bin, 4 8 2 column fixed bin, 4 9 2 type fixed bin, 4 10 /* body */ 4 11 2 string_ptr ptr, 4 12 2 prev_rec ptr, 4 13 2 info bit (8), 4 14 2 def_line fixed bin, 4 15 2 file_no fixed bin, 4 16 2 name_size fixed bin, 4 17 2 name char(0 refer(fd_token.name_size)); 4 18 4 19 /* end include file ... cobol_TYPE12.incl.pl1 */ 4 20 3 17 3 18 /* END DECLARATION OF TYPE12 (FILE NAME) TOKEN */ 3 19 3 20 3 21 /* END INCLUDE FILE ... cobol_type12.incl.pl1 */ 3 22 193 194 5 1 5 2 /* BEGIN INCLUDE FILE ... cobol_type9.incl.pl1 */ 5 3 /* Last modified on 11/19/76 by ORN */ 5 4 5 5 /* 5 6*A type 9 data name token is entered into the name table by the data 5 7*division syntax phase for each data name described in the data division. 5 8*The replacement phase subsequently replaces type 8 user word references 5 9*to data names in the procedure division minpral file with the corresponding 5 10*type 9 tokens from the name table. 5 11**/ 5 12 5 13 /* dcl dn_ptr ptr; */ 5 14 5 15 /* BEGIN DECLARATION OF TYPE9 (DATA NAME) TOKEN */ 5 16 dcl 1 data_name based (dn_ptr), 6 1 6 2 /* begin include file ... cobol_TYPE9.incl.pl1 */ 6 3 /* Last modified on 06/19/77 by ORN */ 6 4 /* Last modified on 12/28/76 by FCH */ 6 5 6 6 /* header */ 6 7 2 size fixed bin, 6 8 2 line fixed bin, 6 9 2 column fixed bin, 6 10 2 type fixed bin, 6 11 /* body */ 6 12 2 string_ptr ptr, 6 13 2 prev_rec ptr, 6 14 2 searched bit (1), 6 15 2 duplicate bit (1), 6 16 2 saved bit (1), 6 17 2 debug_ind bit (1), 6 18 2 filler2 bit (3), 6 19 2 used_as_sub bit (1), 6 20 2 def_line fixed bin, 6 21 2 level fixed bin, 6 22 2 linkage fixed bin, 6 23 2 file_num fixed bin, 6 24 2 size_rtn fixed bin, 6 25 2 item_length fixed bin(24), 6 26 2 places_left fixed bin, 6 27 2 places_right fixed bin, 6 28 /* description */ 6 29 2 file_section bit (1), 6 30 2 working_storage bit (1), 6 31 2 constant_section bit (1), 6 32 2 linkage_section bit (1), 6 33 2 communication_section bit (1), 6 34 2 report_section bit (1), 6 35 2 level_77 bit (1), 6 36 2 level_01 bit (1), 6 37 2 non_elementary bit (1), 6 38 2 elementary bit (1), 6 39 2 filler_item bit (1), 6 40 2 s_of_rdf bit (1), 6 41 2 o_of_rdf bit (1), 6 42 2 bin_18 bit (1), 6 43 2 bin_36 bit (1), 6 44 2 pic_has_l bit (1), 6 45 2 pic_is_do bit (1), 6 46 2 numeric bit (1), 6 47 2 numeric_edited bit (1), 6 48 2 alphanum bit (1), 6 49 2 alphanum_edited bit (1), 6 50 2 alphabetic bit (1), 6 51 2 alphabetic_edited bit (1), 6 52 2 pic_has_p bit (1), 6 53 2 pic_has_ast bit (1), 6 54 2 item_signed bit(1), 6 55 2 sign_separate bit (1), 6 56 2 display bit (1), 6 57 2 comp bit (1), 6 58 2 ascii_packed_dec_h bit (1), /* as of 8/16/76 this field used for comp8. */ 6 59 2 ascii_packed_dec bit (1), 6 60 2 ebcdic_packed_dec bit (1), 6 61 2 bin_16 bit (1), 6 62 2 bin_32 bit (1), 6 63 2 usage_index bit (1), 6 64 2 just_right bit (1), 6 65 2 compare_argument bit (1), 6 66 2 sync bit (1), 6 67 2 temporary bit (1), 6 68 2 bwz bit (1), 6 69 2 variable_length bit (1), 6 70 2 subscripted bit (1), 6 71 2 occurs_do bit (1), 6 72 2 key_a bit (1), 6 73 2 key_d bit (1), 6 74 2 indexed_by bit (1), 6 75 2 value_numeric bit (1), 6 76 2 value_non_numeric bit (1), 6 77 2 value_signed bit (1), 6 78 2 sign_type bit (3), 6 79 2 pic_integer bit (1), 6 80 2 ast_when_zero bit (1), 6 81 2 label_record bit (1), 6 82 2 sign_clause_occurred bit (1), 6 83 2 okey_dn bit (1), 6 84 2 subject_of_keyis bit (1), 6 85 2 exp_redefining bit (1), 6 86 2 sync_in_rec bit (1), 6 87 2 rounded bit (1), 6 88 2 ad_bit bit (1), 6 89 2 debug_all bit (1), 6 90 2 overlap bit (1), 6 91 2 sum_counter bit (1), 6 92 2 exp_occurs bit (1), 6 93 2 linage_counter bit (1), 6 94 2 rnm_01 bit (1), 6 95 2 aligned bit (1), 6 96 2 not_user_writable bit (1), 6 97 2 database_key bit (1), 6 98 2 database_data_item bit (1), 6 99 2 seg_num fixed bin, 6 100 2 offset fixed bin(24), 6 101 2 initial_ptr fixed bin, 6 102 2 edit_ptr fixed bin, 6 103 2 occurs_ptr fixed bin, 6 104 2 do_rec char(5), 6 105 2 bitt bit (1), 6 106 2 byte bit (1), 6 107 2 half_word bit (1), 6 108 2 word bit (1), 6 109 2 double_word bit (1), 6 110 2 half_byte bit (1), 6 111 2 filler5 bit (1), 6 112 2 bit_offset bit (4), 6 113 2 son_cnt bit (16), 6 114 2 max_red_size fixed bin(24), 6 115 2 name_size fixed bin, 6 116 2 name char(0 refer(data_name.name_size)); 6 117 6 118 6 119 6 120 /* end include file ... cobol_TYPE9.incl.pl1 */ 6 121 5 17 5 18 /* END DECLARATION OF TYPE9 (DATA NAME) TOKEN */ 5 19 5 20 /* END INCLUDE FILE ... cobol_type9.incl.pl1 */ 5 21 195 196 7 1 7 2 /* BEGIN INCLUDE FILE ... cobol_ext_.incl.pl1 */ 7 3 /* Last modified on 06/17/76 by ORN */ 7 4 /* Last modified on 12/28/76 by FCH */ 7 5 /* Last modified on 12/01/80 by FCH */ 7 6 7 7 /* <<< SHARED EXTERNALS INCLUDE FILE >>> */ 7 8 7 9 7 10 dcl cobol_ext_$cobol_afp ptr ext; 7 11 dcl cobol_afp ptr defined ( cobol_ext_$cobol_afp); 7 12 dcl cobol_ext_$cobol_analin_fileno ptr ext; 7 13 dcl cobol_analin_fileno ptr defined ( cobol_ext_$cobol_analin_fileno); 7 14 dcl cobol_ext_$report_first_token ptr ext; 7 15 dcl report_first_token ptr defined( cobol_ext_$report_first_token); 7 16 dcl cobol_ext_$report_last_token ptr ext; 7 17 dcl report_last_token ptr defined ( cobol_ext_$report_last_token); 7 18 dcl cobol_ext_$cobol_eltp ptr ext; 7 19 dcl cobol_eltp ptr defined ( cobol_ext_$cobol_eltp); 7 20 dcl cobol_ext_$cobol_cmfp ptr ext; 7 21 dcl cobol_cmfp ptr defined ( cobol_ext_$cobol_cmfp); 7 22 dcl cobol_ext_$cobol_com_fileno ptr ext; 7 23 dcl cobol_com_fileno ptr defined ( cobol_ext_$cobol_com_fileno); 7 24 dcl cobol_ext_$cobol_com_ptr ptr ext; 7 25 dcl cobol_com_ptr ptr defined ( cobol_ext_$cobol_com_ptr); 7 26 dcl cobol_ext_$cobol_dfp ptr ext; 7 27 dcl cobol_dfp ptr defined ( cobol_ext_$cobol_dfp); 7 28 dcl cobol_ext_$cobol_hfp ptr ext; 7 29 dcl cobol_hfp ptr defined ( cobol_ext_$cobol_hfp); 7 30 dcl cobol_ext_$cobol_m1fp ptr ext; 7 31 dcl cobol_m1fp ptr defined ( cobol_ext_$cobol_m1fp); 7 32 dcl cobol_ext_$cobol_m2fp ptr ext; 7 33 dcl cobol_m2fp ptr defined ( cobol_ext_$cobol_m2fp); 7 34 dcl cobol_ext_$cobol_min1_fileno ptr ext; 7 35 dcl cobol_min1_fileno ptr defined ( cobol_ext_$cobol_min1_fileno); 7 36 dcl cobol_ext_$cobol_min2_fileno_ptr ptr ext; 7 37 dcl cobol_min2_fileno_ptr ptr defined ( cobol_ext_$cobol_min2_fileno_ptr); 7 38 dcl cobol_ext_$cobol_name_fileno ptr ext; 7 39 dcl cobol_name_fileno ptr defined ( cobol_ext_$cobol_name_fileno); 7 40 dcl cobol_ext_$cobol_name_fileno_ptr ptr ext; 7 41 dcl cobol_name_fileno_ptr ptr defined ( cobol_ext_$cobol_name_fileno_ptr); 7 42 dcl cobol_ext_$cobol_ntfp ptr ext; 7 43 dcl cobol_ntfp ptr defined ( cobol_ext_$cobol_ntfp); 7 44 dcl cobol_ext_$cobol_pdofp ptr ext; 7 45 dcl cobol_pdofp ptr defined ( cobol_ext_$cobol_pdofp); 7 46 dcl cobol_ext_$cobol_pfp ptr ext; 7 47 dcl cobol_pfp ptr defined ( cobol_ext_$cobol_pfp); 7 48 dcl cobol_ext_$cobol_rm2fp ptr ext; 7 49 dcl cobol_rm2fp ptr defined ( cobol_ext_$cobol_rm2fp); 7 50 dcl cobol_ext_$cobol_rmin2fp ptr ext; 7 51 dcl cobol_rmin2fp ptr defined ( cobol_ext_$cobol_rmin2fp); 7 52 dcl cobol_ext_$cobol_curr_in ptr ext; 7 53 dcl cobol_curr_in ptr defined ( cobol_ext_$cobol_curr_in); 7 54 dcl cobol_ext_$cobol_curr_out ptr ext; 7 55 dcl cobol_curr_out ptr defined ( cobol_ext_$cobol_curr_out); 7 56 dcl cobol_ext_$cobol_sfp ptr ext; 7 57 dcl cobol_sfp ptr defined ( cobol_ext_$cobol_sfp); 7 58 dcl cobol_ext_$cobol_w1p ptr ext; 7 59 dcl cobol_w1p ptr defined ( cobol_ext_$cobol_w1p); 7 60 dcl cobol_ext_$cobol_w2p ptr ext; 7 61 dcl cobol_w2p ptr defined ( cobol_ext_$cobol_w2p); 7 62 dcl cobol_ext_$cobol_w3p ptr ext; 7 63 dcl cobol_w3p ptr defined ( cobol_ext_$cobol_w3p); 7 64 dcl cobol_ext_$cobol_w5p ptr ext; 7 65 dcl cobol_w5p ptr defined ( cobol_ext_$cobol_w5p); 7 66 dcl cobol_ext_$cobol_w6p ptr ext; 7 67 dcl cobol_w6p ptr defined ( cobol_ext_$cobol_w6p); 7 68 dcl cobol_ext_$cobol_w7p ptr ext; 7 69 dcl cobol_w7p ptr defined ( cobol_ext_$cobol_w7p); 7 70 dcl cobol_ext_$cobol_x3fp ptr ext; 7 71 dcl cobol_x3fp ptr defined ( cobol_ext_$cobol_x3fp); 7 72 dcl cobol_ext_$cobol_rwdd ptr ext; 7 73 dcl cobol_rwdd ptr defined(cobol_ext_$cobol_rwdd); 7 74 dcl cobol_ext_$cobol_rwpd ptr ext; 7 75 dcl cobol_rwpd ptr defined(cobol_ext_$cobol_rwpd); 7 76 7 77 7 78 dcl cobol_ext_$cobol_fileno1 fixed bin(24)ext; 7 79 dcl cobol_fileno1 fixed bin(24)defined ( cobol_ext_$cobol_fileno1); 7 80 dcl cobol_ext_$cobol_options_len fixed bin(24)ext; 7 81 dcl cobol_options_len fixed bin(24)defined ( cobol_ext_$cobol_options_len); 7 82 dcl cobol_ext_$cobol_pdout_fileno fixed bin(24)ext; 7 83 dcl cobol_pdout_fileno fixed bin(24)defined ( cobol_ext_$cobol_pdout_fileno); 7 84 dcl cobol_ext_$cobol_print_fileno fixed bin(24)ext; 7 85 dcl cobol_print_fileno fixed bin(24)defined ( cobol_ext_$cobol_print_fileno); 7 86 dcl cobol_ext_$cobol_rmin2_fileno fixed bin(24)ext; 7 87 dcl cobol_rmin2_fileno fixed bin(24)defined ( cobol_ext_$cobol_rmin2_fileno); 7 88 dcl cobol_ext_$cobol_x1_fileno fixed bin(24)ext; 7 89 dcl cobol_x1_fileno fixed bin(24)defined ( cobol_ext_$cobol_x1_fileno); 7 90 dcl cobol_ext_$cobol_x2_fileno fixed bin(24)ext; 7 91 dcl cobol_x2_fileno fixed bin(24)defined ( cobol_ext_$cobol_x2_fileno); 7 92 dcl cobol_ext_$cobol_x3_fileno fixed bin(24)ext; 7 93 dcl cobol_x3_fileno fixed bin(24)defined ( cobol_ext_$cobol_x3_fileno); 7 94 7 95 dcl cobol_ext_$cobol_lpr char (5) ext; 7 96 dcl cobol_lpr char (5) defined ( cobol_ext_$cobol_lpr); /* -2- */ 7 97 dcl cobol_ext_$cobol_options char (120) ext; 7 98 dcl cobol_options char (120) defined ( cobol_ext_$cobol_options); /* -30- */ 7 99 7 100 dcl cobol_ext_$cobol_xlast8 bit (1) ext; 7 101 dcl cobol_xlast8 bit (1) defined ( cobol_ext_$cobol_xlast8); /* -1- */ 7 102 dcl cobol_ext_$report_exists bit (1) ext; 7 103 dcl report_exists bit (1) defined ( cobol_ext_$report_exists); 7 104 7 105 7 106 /* <<< END OF SHARED EXTERNALS INCLUDE FILE >>> */ 7 107 /* END INCLUDE FILE ... cobol_ext_.incl.pl1 */ 7 108 197 8 1 8 2 /* BEGIN INCLUDE FILE ... cobol_.incl.pl1 */ 8 3 /* last modified Feb 4, 1977 by ORN */ 8 4 8 5 /* This file defines all external data used in the generator phase of Multics Cobol */ 8 6 8 7 /* POINTERS */ 8 8 dcl cobol_$text_base_ptr ptr ext; 8 9 dcl text_base_ptr ptr defined (cobol_$text_base_ptr); 8 10 dcl cobol_$con_end_ptr ptr ext; 8 11 dcl con_end_ptr ptr defined (cobol_$con_end_ptr); 8 12 dcl cobol_$def_base_ptr ptr ext; 8 13 dcl def_base_ptr ptr defined (cobol_$def_base_ptr); 8 14 dcl cobol_$link_base_ptr ptr ext; 8 15 dcl link_base_ptr ptr defined (cobol_$link_base_ptr); 8 16 dcl cobol_$sym_base_ptr ptr ext; 8 17 dcl sym_base_ptr ptr defined (cobol_$sym_base_ptr); 8 18 dcl cobol_$reloc_text_base_ptr ptr ext; 8 19 dcl reloc_text_base_ptr ptr defined (cobol_$reloc_text_base_ptr); 8 20 dcl cobol_$reloc_def_base_ptr ptr ext; 8 21 dcl reloc_def_base_ptr ptr defined (cobol_$reloc_def_base_ptr); 8 22 dcl cobol_$reloc_link_base_ptr ptr ext; 8 23 dcl reloc_link_base_ptr ptr defined (cobol_$reloc_link_base_ptr); 8 24 dcl cobol_$reloc_sym_base_ptr ptr ext; 8 25 dcl reloc_sym_base_ptr ptr defined (cobol_$reloc_sym_base_ptr); 8 26 dcl cobol_$reloc_work_base_ptr ptr ext; 8 27 dcl reloc_work_base_ptr ptr defined (cobol_$reloc_work_base_ptr); 8 28 dcl cobol_$pd_map_ptr ptr ext; 8 29 dcl pd_map_ptr ptr defined (cobol_$pd_map_ptr); 8 30 dcl cobol_$fixup_ptr ptr ext; 8 31 dcl fixup_ptr ptr defined (cobol_$fixup_ptr); 8 32 dcl cobol_$initval_base_ptr ptr ext; 8 33 dcl initval_base_ptr ptr defined (cobol_$initval_base_ptr); 8 34 dcl cobol_$initval_file_ptr ptr ext; 8 35 dcl initval_file_ptr ptr defined (cobol_$initval_file_ptr); 8 36 dcl cobol_$perform_list_ptr ptr ext; 8 37 dcl perform_list_ptr ptr defined (cobol_$perform_list_ptr); 8 38 dcl cobol_$alter_list_ptr ptr ext; 8 39 dcl alter_list_ptr ptr defined (cobol_$alter_list_ptr); 8 40 dcl cobol_$seg_init_list_ptr ptr ext; 8 41 dcl seg_init_list_ptr ptr defined (cobol_$seg_init_list_ptr); 8 42 dcl cobol_$temp_token_area_ptr ptr ext; 8 43 dcl temp_token_area_ptr ptr defined (cobol_$temp_token_area_ptr); 8 44 dcl cobol_$temp_token_ptr ptr ext; 8 45 dcl temp_token_ptr ptr defined (cobol_$temp_token_ptr); 8 46 dcl cobol_$token_block1_ptr ptr ext; 8 47 dcl token_block1_ptr ptr defined (cobol_$token_block1_ptr); 8 48 dcl cobol_$token_block2_ptr ptr ext; 8 49 dcl token_block2_ptr ptr defined (cobol_$token_block2_ptr); 8 50 dcl cobol_$minpral5_ptr ptr ext; 8 51 dcl minpral5_ptr ptr defined (cobol_$minpral5_ptr); 8 52 dcl cobol_$tag_table_ptr ptr ext; 8 53 dcl tag_table_ptr ptr defined (cobol_$tag_table_ptr); 8 54 dcl cobol_$map_data_ptr ptr ext; 8 55 dcl map_data_ptr ptr defined (cobol_$map_data_ptr); 8 56 dcl cobol_$ptr_status_ptr ptr ext; 8 57 dcl ptr_status_ptr ptr defined (cobol_$ptr_status_ptr); 8 58 dcl cobol_$reg_status_ptr ptr ext; 8 59 dcl reg_status_ptr ptr defined (cobol_$reg_status_ptr); 8 60 dcl cobol_$misc_base_ptr ptr ext; 8 61 dcl misc_base_ptr ptr defined (cobol_$misc_base_ptr); 8 62 dcl cobol_$misc_end_ptr ptr ext; 8 63 dcl misc_end_ptr ptr defined (cobol_$misc_end_ptr); 8 64 dcl cobol_$list_ptr ptr ext; 8 65 dcl list_ptr ptr defined (cobol_$list_ptr); 8 66 dcl cobol_$allo1_ptr ptr ext; 8 67 dcl allo1_ptr ptr defined (cobol_$allo1_ptr); 8 68 dcl cobol_$eln_ptr ptr ext; 8 69 dcl eln_ptr ptr defined (cobol_$eln_ptr); 8 70 dcl cobol_$diag_ptr ptr ext; 8 71 dcl diag_ptr ptr defined (cobol_$diag_ptr); 8 72 dcl cobol_$xref_token_ptr ptr ext; 8 73 dcl xref_token_ptr ptr defined (cobol_$xref_token_ptr); 8 74 dcl cobol_$xref_chain_ptr ptr ext; 8 75 dcl xref_chain_ptr ptr defined (cobol_$xref_chain_ptr); 8 76 dcl cobol_$statement_info_ptr ptr ext; 8 77 dcl statement_info_ptr ptr defined (cobol_$statement_info_ptr); 8 78 dcl cobol_$reswd_ptr ptr ext; 8 79 dcl reswd_ptr ptr defined (cobol_$reswd_ptr); 8 80 dcl cobol_$op_con_ptr ptr ext; 8 81 dcl op_con_ptr ptr defined (cobol_$op_con_ptr); 8 82 dcl cobol_$ntbuf_ptr ptr ext; 8 83 dcl ntbuf_ptr ptr defined (cobol_$ntbuf_ptr); 8 84 dcl cobol_$main_pcs_ptr ptr ext; 8 85 dcl main_pcs_ptr ptr defined (cobol_$main_pcs_ptr); 8 86 dcl cobol_$include_info_ptr ptr ext; 8 87 dcl include_info_ptr ptr defined (cobol_$include_info_ptr); 8 88 8 89 /* FIXED BIN */ 8 90 dcl cobol_$text_wd_off fixed bin ext; 8 91 dcl text_wd_off fixed bin defined (cobol_$text_wd_off); 8 92 dcl cobol_$con_wd_off fixed bin ext; 8 93 dcl con_wd_off fixed bin defined (cobol_$con_wd_off); 8 94 dcl cobol_$def_wd_off fixed bin ext; 8 95 dcl def_wd_off fixed bin defined (cobol_$def_wd_off); 8 96 dcl cobol_$def_max fixed bin ext; 8 97 dcl def_max fixed bin defined (cobol_$def_max); 8 98 dcl cobol_$link_wd_off fixed bin ext; 8 99 dcl link_wd_off fixed bin defined (cobol_$link_wd_off); 8 100 dcl cobol_$link_max fixed bin ext; 8 101 dcl link_max fixed bin defined (cobol_$link_max); 8 102 dcl cobol_$sym_wd_off fixed bin ext; 8 103 dcl sym_wd_off fixed bin defined (cobol_$sym_wd_off); 8 104 dcl cobol_$sym_max fixed bin ext; 8 105 dcl sym_max fixed bin defined (cobol_$sym_max); 8 106 dcl cobol_$reloc_text_max fixed bin(24) ext; 8 107 dcl reloc_text_max fixed bin(24) defined (cobol_$reloc_text_max); 8 108 dcl cobol_$reloc_def_max fixed bin(24) ext; 8 109 dcl reloc_def_max fixed bin(24) defined (cobol_$reloc_def_max); 8 110 dcl cobol_$reloc_link_max fixed bin(24) ext; 8 111 dcl reloc_link_max fixed bin(24) defined (cobol_$reloc_link_max); 8 112 dcl cobol_$reloc_sym_max fixed bin(24) ext; 8 113 dcl reloc_sym_max fixed bin(24) defined (cobol_$reloc_sym_max); 8 114 dcl cobol_$reloc_work_max fixed bin(24) ext; 8 115 dcl reloc_work_max fixed bin(24) defined (cobol_$reloc_work_max); 8 116 dcl cobol_$pd_map_index fixed bin ext; 8 117 dcl pd_map_index fixed bin defined (cobol_$pd_map_index); 8 118 dcl cobol_$cobol_data_wd_off fixed bin ext; 8 119 dcl cobol_data_wd_off fixed bin defined (cobol_$cobol_data_wd_off); 8 120 dcl cobol_$stack_off fixed bin ext; 8 121 dcl stack_off fixed bin defined (cobol_$stack_off); 8 122 dcl cobol_$max_stack_off fixed bin ext; 8 123 dcl max_stack_off fixed bin defined (cobol_$max_stack_off); 8 124 dcl cobol_$init_stack_off fixed bin ext; 8 125 dcl init_stack_off fixed bin defined (cobol_$init_stack_off); 8 126 dcl cobol_$pd_map_sw fixed bin ext; 8 127 dcl pd_map_sw fixed bin defined (cobol_$pd_map_sw); 8 128 dcl cobol_$next_tag fixed bin ext; 8 129 dcl next_tag fixed bin defined (cobol_$next_tag); 8 130 dcl cobol_$data_init_flag fixed bin ext; 8 131 dcl data_init_flag fixed bin defined (cobol_$data_init_flag); 8 132 dcl cobol_$seg_init_flag fixed bin ext; 8 133 dcl seg_init_flag fixed bin defined (cobol_$seg_init_flag); 8 134 dcl cobol_$alter_flag fixed bin ext; 8 135 dcl alter_flag fixed bin defined (cobol_$alter_flag); 8 136 dcl cobol_$sect_eop_flag fixed bin ext; 8 137 dcl sect_eop_flag fixed bin defined (cobol_$sect_eop_flag); 8 138 dcl cobol_$para_eop_flag fixed bin ext; 8 139 dcl para_eop_flag fixed bin defined (cobol_$para_eop_flag); 8 140 dcl cobol_$priority_no fixed bin ext; 8 141 dcl priority_no fixed bin defined (cobol_$priority_no); 8 142 dcl cobol_$compile_count fixed bin ext; 8 143 dcl compile_count fixed bin defined (cobol_$compile_count); 8 144 dcl cobol_$ptr_assumption_ind fixed bin ext; 8 145 dcl ptr_assumption_ind fixed bin defined (cobol_$ptr_assumption_ind); 8 146 dcl cobol_$reg_assumption_ind fixed bin ext; 8 147 dcl reg_assumption_ind fixed bin defined (cobol_$reg_assumption_ind); 8 148 dcl cobol_$perform_para_index fixed bin ext; 8 149 dcl perform_para_index fixed bin defined (cobol_$perform_para_index); 8 150 dcl cobol_$perform_sect_index fixed bin ext; 8 151 dcl perform_sect_index fixed bin defined (cobol_$perform_sect_index); 8 152 dcl cobol_$alter_index fixed bin ext; 8 153 dcl alter_index fixed bin defined (cobol_$alter_index); 8 154 dcl cobol_$list_off fixed bin ext; 8 155 dcl list_off fixed bin defined (cobol_$list_off); 8 156 dcl cobol_$constant_offset fixed bin ext; 8 157 dcl constant_offset fixed bin defined (cobol_$constant_offset); 8 158 dcl cobol_$misc_max fixed bin ext; 8 159 dcl misc_max fixed bin defined (cobol_$misc_max); 8 160 dcl cobol_$pd_map_max fixed bin ext; 8 161 dcl pd_map_max fixed bin defined (cobol_$pd_map_max); 8 162 dcl cobol_$map_data_max fixed bin ext; 8 163 dcl map_data_max fixed bin defined (cobol_$map_data_max); 8 164 dcl cobol_$fixup_max fixed bin ext; 8 165 dcl fixup_max fixed bin defined (cobol_$fixup_max); 8 166 dcl cobol_$tag_table_max fixed bin ext; 8 167 dcl tag_table_max fixed bin defined (cobol_$tag_table_max); 8 168 dcl cobol_$temp_token_max fixed bin ext; 8 169 dcl temp_token_max fixed bin defined (cobol_$temp_token_max); 8 170 dcl cobol_$allo1_max fixed bin ext; 8 171 dcl allo1_max fixed bin defined (cobol_$allo1_max); 8 172 dcl cobol_$eln_max fixed bin ext; 8 173 dcl eln_max fixed bin defined (cobol_$eln_max); 8 174 dcl cobol_$debug_enable fixed bin ext; 8 175 dcl debug_enable fixed bin defined (cobol_$debug_enable); 8 176 dcl cobol_$non_source_offset fixed bin ext; 8 177 dcl non_source_offset fixed bin defined (cobol_$non_source_offset); 8 178 dcl cobol_$initval_flag fixed bin ext; 8 179 dcl initval_flag fixed bin defined (cobol_$initval_flag); 8 180 dcl cobol_$date_compiled_sw fixed bin ext; 8 181 dcl date_compiled_sw fixed bin defined (cobol_$date_compiled_sw); 8 182 dcl cobol_$include_cnt fixed bin ext; 8 183 dcl include_cnt fixed bin defined (cobol_$include_cnt); 8 184 dcl cobol_$fs_charcnt fixed bin ext; 8 185 dcl fs_charcnt fixed bin defined (cobol_$fs_charcnt); 8 186 dcl cobol_$ws_charcnt fixed bin ext; 8 187 dcl ws_charcnt fixed bin defined (cobol_$ws_charcnt); 8 188 dcl cobol_$coms_charcnt fixed bin ext; 8 189 dcl coms_charcnt fixed bin defined (cobol_$coms_charcnt); 8 190 dcl cobol_$ls_charcnt fixed bin ext; 8 191 dcl ls_charcnt fixed bin defined (cobol_$ls_charcnt); 8 192 dcl cobol_$cons_charcnt fixed bin ext; 8 193 dcl cons_charcnt fixed bin defined (cobol_$cons_charcnt); 8 194 dcl cobol_$value_cnt fixed bin ext; 8 195 dcl value_cnt fixed bin defined (cobol_$value_cnt); 8 196 dcl cobol_$cd_cnt fixed bin ext; 8 197 dcl cd_cnt fixed bin defined (cobol_$cd_cnt); 8 198 dcl cobol_$fs_wdoff fixed bin ext; 8 199 dcl fs_wdoff fixed bin defined (cobol_$fs_wdoff); 8 200 dcl cobol_$ws_wdoff fixed bin ext; 8 201 dcl ws_wdoff fixed bin defined (cobol_$ws_wdoff); 8 202 dcl cobol_$coms_wdoff fixed bin ext; 8 203 dcl coms_wdoff fixed bin defined (cobol_$coms_wdoff); 8 204 8 205 /* CHARACTER */ 8 206 dcl cobol_$scratch_dir char (168) aligned ext; 8 207 dcl scratch_dir char (168) aligned defined (cobol_$scratch_dir); /* -42- */ 8 208 dcl cobol_$obj_seg_name char (32) aligned ext; 8 209 dcl obj_seg_name char (32) aligned defined (cobol_$obj_seg_name); /* -8- */ 8 210 8 211 /* BIT */ 8 212 dcl cobol_$xref_bypass bit(1) aligned ext; 8 213 dcl xref_bypass bit(1) aligned defined (cobol_$xref_bypass); /* -1- */ 8 214 dcl cobol_$same_sort_merge_proc bit(1) aligned ext; 8 215 dcl same_sort_merge_proc bit(1) aligned defined (cobol_$same_sort_merge_proc); /* -1- */ 8 216 8 217 8 218 /* END INCLUDE FILE ... cobol_incl.pl1*/ 8 219 8 220 198 199 200 201 end cobol_make_merge_file; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 05/24/89 0830.5 cobol_make_merge_file.pl1 >spec>install>MR12.3-1048>cobol_make_merge_file.pl1 189 1 11/11/82 1712.8 cobol_fixed_common.incl.pl1 >ldd>include>cobol_fixed_common.incl.pl1 191 2 11/11/82 1712.7 cobol_file_table.incl.pl1 >ldd>include>cobol_file_table.incl.pl1 193 3 11/11/82 1712.8 cobol_type12.incl.pl1 >ldd>include>cobol_type12.incl.pl1 3-17 4 03/27/82 0439.6 cobol_TYPE12.incl.pl1 >ldd>include>cobol_TYPE12.incl.pl1 195 5 03/27/82 0439.9 cobol_type9.incl.pl1 >ldd>include>cobol_type9.incl.pl1 5-17 6 11/11/82 1712.7 cobol_TYPE9.incl.pl1 >ldd>include>cobol_TYPE9.incl.pl1 197 7 03/27/82 0431.3 cobol_ext_.incl.pl1 >ldd>include>cobol_ext_.incl.pl1 198 8 11/11/82 1712.7 cobol_.incl.pl1 >ldd>include>cobol_.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. addr builtin function dcl 183 ref 100 101 102 121 121 addrel builtin function dcl 183 ref 78 ao_len 211 based fixed bin(24,0) level 2 dcl 2-25 set ref 130* cat_nm 126(09) based char(200) level 2 packed packed unaligned dcl 2-25 set ref 131* catalogued 42 based fixed bin(17,0) level 2 dcl 2-25 set ref 134* cobol_$compile_count 000326 external static fixed bin(17,0) dcl 8-142 ref 81 93 cobol_$init_stack_off 000324 external static fixed bin(17,0) dcl 8-124 set ref 147* cobol_$stack_off 000322 external static fixed bin(17,0) dcl 8-120 ref 147 cobol_alloc$stack 000312 constant entry external dcl 71 ref 144 cobol_com_ptr defined pointer dcl 7-25 ref 78 78 103 124 cobol_ext_$cobol_com_ptr 000320 external static pointer dcl 7-24 ref 78 78 78 78 103 103 124 124 cobol_io_$cobol_vdwf_sput 000314 constant entry external dcl 71 ref 121 159 162 cobol_make_fsb_link 000316 constant entry external dcl 71 ref 149 cobol_read_ft 000310 constant entry external dcl 71 ref 98 117 cobol_read_rand 000306 constant entry external dcl 71 ref 107 126 160 163 cra_offset 40 based fixed bin(24,0) level 2 dcl 2-25 set ref 146* 154 cra_seg 37 based fixed bin(17,0) level 2 dcl 2-25 set ref 139* 153 data_name based structure level 1 unaligned dcl 5-16 device 47 based fixed bin(17,0) level 2 dcl 2-25 set ref 133* external 33(10) based bit(1) level 2 packed packed unaligned dcl 2-25 set ref 136* extra_status 33(12) based bit(1) level 2 packed packed unaligned dcl 2-25 set ref 138* fd_token based structure level 1 unaligned dcl 3-16 file_no 12 based fixed bin(17,0) level 2 in structure "fd_token" dcl 3-16 in procedure "cobol_make_merge_file" set ref 97 115* 116 file_no 35 based fixed bin(17,0) level 2 in structure "file_table" dcl 2-25 in procedure "cobol_make_merge_file" set ref 114 141* 155 file_num 14 based fixed bin(17,0) level 2 dcl 5-16 set ref 155* file_ptr parameter pointer dcl 60 set ref 32 85* 165* file_status 33(11) based bit(1) level 2 packed packed unaligned dcl 2-25 set ref 137* file_table based structure level 1 unaligned dcl 2-25 filedescr_offsets 25 based char(5) array level 2 packed packed unaligned dcl 1-26 set ref 103 124* first_call 000060 internal static fixed bin(17,0) initial dcl 35 set ref 81 93* fixed_common based structure level 1 unaligned dcl 1-26 set ref 78 ft_ptr 000100 automatic pointer dcl 35 set ref 107* 108 114 123 126* 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 146 149* 151 153 154 155 156 ft_ptr_save 000010 internal static pointer array dcl 35 set ref 83 98* 142 143 i 000110 automatic fixed bin(17,0) dcl 41 set ref 81* 83 83 85 86 87* 97* 98* 116* 117* 140* 144* id 113 based char(32) level 2 packed packed unaligned dcl 2-25 set ref 132* ifn 1(09) based char(16) level 2 packed packed unaligned dcl 2-25 set ref 135* item_length 16 based fixed bin(24,0) level 2 dcl 5-16 set ref 156* j 000111 automatic fixed bin(17,0) dcl 41 set ref 144* 146 max_cra_size 41 based fixed bin(24,0) level 2 dcl 2-25 set ref 83 83 140 142* 142 156 merge_count 000061 internal static fixed bin(17,0) dcl 35 set ref 81 92* 96* 96 98 100 101 102 115 142 143 151 152 153 154 155 156 159 160 162 163 165 166 167 merge_file_ptr 000136 automatic pointer dcl 60 set ref 78* 121* 159* 162* merge_ft_ptr 000134 automatic pointer dcl 60 set ref 117* 119 name_ptr parameter pointer dcl 35 ref 32 97 113 116 next based char(5) level 2 packed packed unaligned dcl 2-25 set ref 108 123* offset 24 based fixed bin(24,0) level 2 dcl 5-16 set ref 154* rec_do 33(33) based bit(1) level 2 packed packed unaligned dcl 2-25 set ref 143* 143 rec_id 000112 automatic char(5) packed unaligned dcl 41 set ref 103* 107* 108* 109 seg_num 23 based fixed bin(17,0) level 2 dcl 5-16 set ref 153* size builtin function dcl 183 ref 78 status_code 000107 automatic fixed bin(35,0) dcl 41 set ref 121* 159* 162* stop_bit 000102 automatic bit(1) packed unaligned dcl 41 set ref 104* 106 109* substr builtin function dcl 183 set ref 113* 113 119* 119 temp 123 based bit(1) level 2 packed packed unaligned dcl 2-25 set ref 129* temp_based based char(1024) packed unaligned dcl 60 ref 113 119 temp_file 000140 automatic char(1024) packed unaligned dcl 60 set ref 101 119* 121 121 temp_file_ptr 000116 internal static pointer array dcl 60 set ref 83 85 101* 151* 165 temp_id 000104 automatic char(5) packed unaligned dcl 41 set ref 121* 123 124 126* 159* 160* 162* 163* temp_no 000106 automatic fixed bin(17,0) dcl 41 set ref 114* 115 124 124 141 temp_type12 000114 automatic char(60) packed unaligned dcl 60 set ref 100 113* temp_type12_ptr 000166 internal static pointer array dcl 60 set ref 87 100* 115 152 162* 163* 166 temp_type9 000062 internal static structure level 1 unaligned dcl 47 set ref 102 temp_type9_ptr 000236 internal static pointer array dcl 60 set ref 86 102* 153 154 155 156 159* 160* 167 type 3 based fixed bin(17,0) level 2 dcl 3-16 set ref 152* type12_ptr parameter pointer dcl 60 set ref 32 87* 166* type9_ptr parameter pointer dcl 60 set ref 32 86* 167* NAMES DECLARED BY DECLARE STATEMENT AND NEVER REFERENCED. allo1_max defined fixed bin(17,0) dcl 8-171 allo1_ptr defined pointer dcl 8-67 alter_flag defined fixed bin(17,0) dcl 8-135 alter_index defined fixed bin(17,0) dcl 8-153 alter_list_ptr defined pointer dcl 8-39 binary builtin function dcl 183 cd_cnt defined fixed bin(17,0) dcl 8-197 cobol_$allo1_max external static fixed bin(17,0) dcl 8-170 cobol_$allo1_ptr external static pointer dcl 8-66 cobol_$alter_flag external static fixed bin(17,0) dcl 8-134 cobol_$alter_index external static fixed bin(17,0) dcl 8-152 cobol_$alter_list_ptr external static pointer dcl 8-38 cobol_$cd_cnt external static fixed bin(17,0) dcl 8-196 cobol_$cobol_data_wd_off external static fixed bin(17,0) dcl 8-118 cobol_$coms_charcnt external static fixed bin(17,0) dcl 8-188 cobol_$coms_wdoff external static fixed bin(17,0) dcl 8-202 cobol_$con_end_ptr external static pointer dcl 8-10 cobol_$con_wd_off external static fixed bin(17,0) dcl 8-92 cobol_$cons_charcnt external static fixed bin(17,0) dcl 8-192 cobol_$constant_offset external static fixed bin(17,0) dcl 8-156 cobol_$data_init_flag external static fixed bin(17,0) dcl 8-130 cobol_$date_compiled_sw external static fixed bin(17,0) dcl 8-180 cobol_$debug_enable external static fixed bin(17,0) dcl 8-174 cobol_$def_base_ptr external static pointer dcl 8-12 cobol_$def_max external static fixed bin(17,0) dcl 8-96 cobol_$def_wd_off external static fixed bin(17,0) dcl 8-94 cobol_$diag_ptr external static pointer dcl 8-70 cobol_$eln_max external static fixed bin(17,0) dcl 8-172 cobol_$eln_ptr external static pointer dcl 8-68 cobol_$fixup_max external static fixed bin(17,0) dcl 8-164 cobol_$fixup_ptr external static pointer dcl 8-30 cobol_$fs_charcnt external static fixed bin(17,0) dcl 8-184 cobol_$fs_wdoff external static fixed bin(17,0) dcl 8-198 cobol_$include_cnt external static fixed bin(17,0) dcl 8-182 cobol_$include_info_ptr external static pointer dcl 8-86 cobol_$initval_base_ptr external static pointer dcl 8-32 cobol_$initval_file_ptr external static pointer dcl 8-34 cobol_$initval_flag external static fixed bin(17,0) dcl 8-178 cobol_$link_base_ptr external static pointer dcl 8-14 cobol_$link_max external static fixed bin(17,0) dcl 8-100 cobol_$link_wd_off external static fixed bin(17,0) dcl 8-98 cobol_$list_off external static fixed bin(17,0) dcl 8-154 cobol_$list_ptr external static pointer dcl 8-64 cobol_$ls_charcnt external static fixed bin(17,0) dcl 8-190 cobol_$main_pcs_ptr external static pointer dcl 8-84 cobol_$map_data_max external static fixed bin(17,0) dcl 8-162 cobol_$map_data_ptr external static pointer dcl 8-54 cobol_$max_stack_off external static fixed bin(17,0) dcl 8-122 cobol_$minpral5_ptr external static pointer dcl 8-50 cobol_$misc_base_ptr external static pointer dcl 8-60 cobol_$misc_end_ptr external static pointer dcl 8-62 cobol_$misc_max external static fixed bin(17,0) dcl 8-158 cobol_$next_tag external static fixed bin(17,0) dcl 8-128 cobol_$non_source_offset external static fixed bin(17,0) dcl 8-176 cobol_$ntbuf_ptr external static pointer dcl 8-82 cobol_$obj_seg_name external static char(32) dcl 8-208 cobol_$op_con_ptr external static pointer dcl 8-80 cobol_$para_eop_flag external static fixed bin(17,0) dcl 8-138 cobol_$pd_map_index external static fixed bin(17,0) dcl 8-116 cobol_$pd_map_max external static fixed bin(17,0) dcl 8-160 cobol_$pd_map_ptr external static pointer dcl 8-28 cobol_$pd_map_sw external static fixed bin(17,0) dcl 8-126 cobol_$perform_list_ptr external static pointer dcl 8-36 cobol_$perform_para_index external static fixed bin(17,0) dcl 8-148 cobol_$perform_sect_index external static fixed bin(17,0) dcl 8-150 cobol_$priority_no external static fixed bin(17,0) dcl 8-140 cobol_$ptr_assumption_ind external static fixed bin(17,0) dcl 8-144 cobol_$ptr_status_ptr external static pointer dcl 8-56 cobol_$reg_assumption_ind external static fixed bin(17,0) dcl 8-146 cobol_$reg_status_ptr external static pointer dcl 8-58 cobol_$reloc_def_base_ptr external static pointer dcl 8-20 cobol_$reloc_def_max external static fixed bin(24,0) dcl 8-108 cobol_$reloc_link_base_ptr external static pointer dcl 8-22 cobol_$reloc_link_max external static fixed bin(24,0) dcl 8-110 cobol_$reloc_sym_base_ptr external static pointer dcl 8-24 cobol_$reloc_sym_max external static fixed bin(24,0) dcl 8-112 cobol_$reloc_text_base_ptr external static pointer dcl 8-18 cobol_$reloc_text_max external static fixed bin(24,0) dcl 8-106 cobol_$reloc_work_base_ptr external static pointer dcl 8-26 cobol_$reloc_work_max external static fixed bin(24,0) dcl 8-114 cobol_$reswd_ptr external static pointer dcl 8-78 cobol_$same_sort_merge_proc external static bit(1) dcl 8-214 cobol_$scratch_dir external static char(168) dcl 8-206 cobol_$sect_eop_flag external static fixed bin(17,0) dcl 8-136 cobol_$seg_init_flag external static fixed bin(17,0) dcl 8-132 cobol_$seg_init_list_ptr external static pointer dcl 8-40 cobol_$statement_info_ptr external static pointer dcl 8-76 cobol_$sym_base_ptr external static pointer dcl 8-16 cobol_$sym_max external static fixed bin(17,0) dcl 8-104 cobol_$sym_wd_off external static fixed bin(17,0) dcl 8-102 cobol_$tag_table_max external static fixed bin(17,0) dcl 8-166 cobol_$tag_table_ptr external static pointer dcl 8-52 cobol_$temp_token_area_ptr external static pointer dcl 8-42 cobol_$temp_token_max external static fixed bin(17,0) dcl 8-168 cobol_$temp_token_ptr external static pointer dcl 8-44 cobol_$text_base_ptr external static pointer dcl 8-8 cobol_$text_wd_off external static fixed bin(17,0) dcl 8-90 cobol_$token_block1_ptr external static pointer dcl 8-46 cobol_$token_block2_ptr external static pointer dcl 8-48 cobol_$value_cnt external static fixed bin(17,0) dcl 8-194 cobol_$ws_charcnt external static fixed bin(17,0) dcl 8-186 cobol_$ws_wdoff external static fixed bin(17,0) dcl 8-200 cobol_$xref_bypass external static bit(1) dcl 8-212 cobol_$xref_chain_ptr external static pointer dcl 8-74 cobol_$xref_token_ptr external static pointer dcl 8-72 cobol_afp defined pointer dcl 7-11 cobol_analin_fileno defined pointer dcl 7-13 cobol_cmfp defined pointer dcl 7-21 cobol_com_fileno defined pointer dcl 7-23 cobol_curr_in defined pointer dcl 7-53 cobol_curr_out defined pointer dcl 7-55 cobol_data_wd_off defined fixed bin(17,0) dcl 8-119 cobol_dfp defined pointer dcl 7-27 cobol_eltp defined pointer dcl 7-19 cobol_ext_$cobol_afp external static pointer dcl 7-10 cobol_ext_$cobol_analin_fileno external static pointer dcl 7-12 cobol_ext_$cobol_cmfp external static pointer dcl 7-20 cobol_ext_$cobol_com_fileno external static pointer dcl 7-22 cobol_ext_$cobol_curr_in external static pointer dcl 7-52 cobol_ext_$cobol_curr_out external static pointer dcl 7-54 cobol_ext_$cobol_dfp external static pointer dcl 7-26 cobol_ext_$cobol_eltp external static pointer dcl 7-18 cobol_ext_$cobol_fileno1 external static fixed bin(24,0) dcl 7-78 cobol_ext_$cobol_hfp external static pointer dcl 7-28 cobol_ext_$cobol_lpr external static char(5) packed unaligned dcl 7-95 cobol_ext_$cobol_m1fp external static pointer dcl 7-30 cobol_ext_$cobol_m2fp external static pointer dcl 7-32 cobol_ext_$cobol_min1_fileno external static pointer dcl 7-34 cobol_ext_$cobol_min2_fileno_ptr external static pointer dcl 7-36 cobol_ext_$cobol_name_fileno external static pointer dcl 7-38 cobol_ext_$cobol_name_fileno_ptr external static pointer dcl 7-40 cobol_ext_$cobol_ntfp external static pointer dcl 7-42 cobol_ext_$cobol_options external static char(120) packed unaligned dcl 7-97 cobol_ext_$cobol_options_len external static fixed bin(24,0) dcl 7-80 cobol_ext_$cobol_pdofp external static pointer dcl 7-44 cobol_ext_$cobol_pdout_fileno external static fixed bin(24,0) dcl 7-82 cobol_ext_$cobol_pfp external static pointer dcl 7-46 cobol_ext_$cobol_print_fileno external static fixed bin(24,0) dcl 7-84 cobol_ext_$cobol_rm2fp external static pointer dcl 7-48 cobol_ext_$cobol_rmin2_fileno external static fixed bin(24,0) dcl 7-86 cobol_ext_$cobol_rmin2fp external static pointer dcl 7-50 cobol_ext_$cobol_rwdd external static pointer dcl 7-72 cobol_ext_$cobol_rwpd external static pointer dcl 7-74 cobol_ext_$cobol_sfp external static pointer dcl 7-56 cobol_ext_$cobol_w1p external static pointer dcl 7-58 cobol_ext_$cobol_w2p external static pointer dcl 7-60 cobol_ext_$cobol_w3p external static pointer dcl 7-62 cobol_ext_$cobol_w5p external static pointer dcl 7-64 cobol_ext_$cobol_w6p external static pointer dcl 7-66 cobol_ext_$cobol_w7p external static pointer dcl 7-68 cobol_ext_$cobol_x1_fileno external static fixed bin(24,0) dcl 7-88 cobol_ext_$cobol_x2_fileno external static fixed bin(24,0) dcl 7-90 cobol_ext_$cobol_x3_fileno external static fixed bin(24,0) dcl 7-92 cobol_ext_$cobol_x3fp external static pointer dcl 7-70 cobol_ext_$cobol_xlast8 external static bit(1) packed unaligned dcl 7-100 cobol_ext_$report_exists external static bit(1) packed unaligned dcl 7-102 cobol_ext_$report_first_token external static pointer dcl 7-14 cobol_ext_$report_last_token external static pointer dcl 7-16 cobol_fileno1 defined fixed bin(24,0) dcl 7-79 cobol_hfp defined pointer dcl 7-29 cobol_lpr defined char(5) packed unaligned dcl 7-96 cobol_m1fp defined pointer dcl 7-31 cobol_m2fp defined pointer dcl 7-33 cobol_min1_fileno defined pointer dcl 7-35 cobol_min2_fileno_ptr defined pointer dcl 7-37 cobol_name_fileno defined pointer dcl 7-39 cobol_name_fileno_ptr defined pointer dcl 7-41 cobol_ntfp defined pointer dcl 7-43 cobol_options defined char(120) packed unaligned dcl 7-98 cobol_options_len defined fixed bin(24,0) dcl 7-81 cobol_pdofp defined pointer dcl 7-45 cobol_pdout_fileno defined fixed bin(24,0) dcl 7-83 cobol_pfp defined pointer dcl 7-47 cobol_print_fileno defined fixed bin(24,0) dcl 7-85 cobol_rm2fp defined pointer dcl 7-49 cobol_rmin2_fileno defined fixed bin(24,0) dcl 7-87 cobol_rmin2fp defined pointer dcl 7-51 cobol_rwdd defined pointer dcl 7-73 cobol_rwpd defined pointer dcl 7-75 cobol_sfp defined pointer dcl 7-57 cobol_w1p defined pointer dcl 7-59 cobol_w2p defined pointer dcl 7-61 cobol_w3p defined pointer dcl 7-63 cobol_w5p defined pointer dcl 7-65 cobol_w6p defined pointer dcl 7-67 cobol_w7p defined pointer dcl 7-69 cobol_x1_fileno defined fixed bin(24,0) dcl 7-89 cobol_x2_fileno defined fixed bin(24,0) dcl 7-91 cobol_x3_fileno defined fixed bin(24,0) dcl 7-93 cobol_x3fp defined pointer dcl 7-71 cobol_xlast8 defined bit(1) packed unaligned dcl 7-101 compile_count defined fixed bin(17,0) dcl 8-143 coms_charcnt defined fixed bin(17,0) dcl 8-189 coms_wdoff defined fixed bin(17,0) dcl 8-203 con_end_ptr defined pointer dcl 8-11 con_wd_off defined fixed bin(17,0) dcl 8-93 cons_charcnt defined fixed bin(17,0) dcl 8-193 constant_offset defined fixed bin(17,0) dcl 8-157 data_init_flag defined fixed bin(17,0) dcl 8-131 date_compiled_sw defined fixed bin(17,0) dcl 8-181 debug_enable defined fixed bin(17,0) dcl 8-175 def_base_ptr defined pointer dcl 8-13 def_max defined fixed bin(17,0) dcl 8-97 def_wd_off defined fixed bin(17,0) dcl 8-95 diag_ptr defined pointer dcl 8-71 dn_ptr automatic pointer dcl 35 eln_max defined fixed bin(17,0) dcl 8-173 eln_ptr defined pointer dcl 8-69 fixed builtin function dcl 183 fixup_max defined fixed bin(17,0) dcl 8-165 fixup_ptr defined pointer dcl 8-31 fs_charcnt defined fixed bin(17,0) dcl 8-185 fs_wdoff defined fixed bin(17,0) dcl 8-199 include_cnt defined fixed bin(17,0) dcl 8-183 include_info_ptr defined pointer dcl 8-87 index builtin function dcl 183 init_stack_off defined fixed bin(17,0) dcl 8-125 initval_base_ptr defined pointer dcl 8-33 initval_file_ptr defined pointer dcl 8-35 initval_flag defined fixed bin(17,0) dcl 8-179 length builtin function dcl 183 link_base_ptr defined pointer dcl 8-15 link_max defined fixed bin(17,0) dcl 8-101 link_wd_off defined fixed bin(17,0) dcl 8-99 list_off defined fixed bin(17,0) dcl 8-155 list_ptr defined pointer dcl 8-65 ls_charcnt defined fixed bin(17,0) dcl 8-191 main_pcs_ptr defined pointer dcl 8-85 map_data_max defined fixed bin(17,0) dcl 8-163 map_data_ptr defined pointer dcl 8-55 max_stack_off defined fixed bin(17,0) dcl 8-123 minpral5_ptr defined pointer dcl 8-51 misc_base_ptr defined pointer dcl 8-61 misc_end_ptr defined pointer dcl 8-63 misc_max defined fixed bin(17,0) dcl 8-159 mod builtin function dcl 183 next_tag defined fixed bin(17,0) dcl 8-129 non_source_offset defined fixed bin(17,0) dcl 8-177 ntbuf_ptr defined pointer dcl 8-83 null builtin function dcl 183 obj_seg_name defined char(32) dcl 8-209 op_con_ptr defined pointer dcl 8-81 para_eop_flag defined fixed bin(17,0) dcl 8-139 pd_map_index defined fixed bin(17,0) dcl 8-117 pd_map_max defined fixed bin(17,0) dcl 8-161 pd_map_ptr defined pointer dcl 8-29 pd_map_sw defined fixed bin(17,0) dcl 8-127 perform_list_ptr defined pointer dcl 8-37 perform_para_index defined fixed bin(17,0) dcl 8-149 perform_sect_index defined fixed bin(17,0) dcl 8-151 priority_no defined fixed bin(17,0) dcl 8-141 ptr_assumption_ind defined fixed bin(17,0) dcl 8-145 ptr_status_ptr defined pointer dcl 8-57 reg_assumption_ind defined fixed bin(17,0) dcl 8-147 reg_status_ptr defined pointer dcl 8-59 rel builtin function dcl 183 reloc_def_base_ptr defined pointer dcl 8-21 reloc_def_max defined fixed bin(24,0) dcl 8-109 reloc_link_base_ptr defined pointer dcl 8-23 reloc_link_max defined fixed bin(24,0) dcl 8-111 reloc_sym_base_ptr defined pointer dcl 8-25 reloc_sym_max defined fixed bin(24,0) dcl 8-113 reloc_text_base_ptr defined pointer dcl 8-19 reloc_text_max defined fixed bin(24,0) dcl 8-107 reloc_work_base_ptr defined pointer dcl 8-27 reloc_work_max defined fixed bin(24,0) dcl 8-115 report_exists defined bit(1) packed unaligned dcl 7-103 report_first_token defined pointer dcl 7-15 report_last_token defined pointer dcl 7-17 reswd_ptr defined pointer dcl 8-79 same_sort_merge_proc defined bit(1) dcl 8-215 scratch_dir defined char(168) dcl 8-207 sect_eop_flag defined fixed bin(17,0) dcl 8-137 seg_init_flag defined fixed bin(17,0) dcl 8-133 seg_init_list_ptr defined pointer dcl 8-41 stack_off defined fixed bin(17,0) dcl 8-121 statement_info_ptr defined pointer dcl 8-77 string builtin function dcl 183 sym_base_ptr defined pointer dcl 8-17 sym_max defined fixed bin(17,0) dcl 8-105 sym_wd_off defined fixed bin(17,0) dcl 8-103 tag_table_max defined fixed bin(17,0) dcl 8-167 tag_table_ptr defined pointer dcl 8-53 temp_token_area_ptr defined pointer dcl 8-43 temp_token_max defined fixed bin(17,0) dcl 8-169 temp_token_ptr defined pointer dcl 8-45 text_base_ptr defined pointer dcl 8-9 text_wd_off defined fixed bin(17,0) dcl 8-91 token_block1_ptr defined pointer dcl 8-47 token_block2_ptr defined pointer dcl 8-49 unspec builtin function dcl 183 value_cnt defined fixed bin(17,0) dcl 8-195 ws_charcnt defined fixed bin(17,0) dcl 8-187 ws_wdoff defined fixed bin(17,0) dcl 8-201 xref_bypass defined bit(1) dcl 8-213 xref_chain_ptr defined pointer dcl 8-75 xref_token_ptr defined pointer dcl 8-73 NAMES DECLARED BY EXPLICIT CONTEXT. cobol_make_merge_file 000031 constant entry external dcl 32 mfex 000541 constant label dcl 169 ref 88 start 000036 constant label dcl 78 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 704 1234 544 714 Length 1606 544 330 335 137 276 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME cobol_make_merge_file 384 external procedure is an external procedure. STORAGE FOR INTERNAL STATIC VARIABLES. LOC IDENTIFIER BLOCK NAME 000010 ft_ptr_save cobol_make_merge_file 000060 first_call cobol_make_merge_file 000061 merge_count cobol_make_merge_file 000062 temp_type9 cobol_make_merge_file 000116 temp_file_ptr cobol_make_merge_file 000166 temp_type12_ptr cobol_make_merge_file 000236 temp_type9_ptr cobol_make_merge_file STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME cobol_make_merge_file 000100 ft_ptr cobol_make_merge_file 000102 stop_bit cobol_make_merge_file 000104 temp_id cobol_make_merge_file 000106 temp_no cobol_make_merge_file 000107 status_code cobol_make_merge_file 000110 i cobol_make_merge_file 000111 j cobol_make_merge_file 000112 rec_id cobol_make_merge_file 000114 temp_type12 cobol_make_merge_file 000134 merge_ft_ptr cobol_make_merge_file 000136 merge_file_ptr cobol_make_merge_file 000140 temp_file cobol_make_merge_file THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. call_ext_out return_mac ext_entry THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. cobol_alloc$stack cobol_io_$cobol_vdwf_sput cobol_make_fsb_link cobol_read_ft cobol_read_rand THE FOLLOWING EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. cobol_$compile_count cobol_$init_stack_off cobol_$stack_off cobol_ext_$cobol_com_ptr LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 32 000024 78 000036 81 000043 83 000055 85 000066 86 000070 87 000072 88 000074 90 000075 92 000100 93 000101 96 000103 97 000105 98 000112 100 000125 101 000131 102 000133 103 000135 104 000143 106 000144 107 000146 108 000163 109 000170 111 000175 113 000176 114 000204 115 000210 116 000217 117 000221 119 000232 121 000236 123 000261 124 000265 126 000277 129 000314 130 000317 131 000320 132 000323 133 000326 134 000330 135 000331 136 000334 137 000336 138 000340 139 000342 140 000344 141 000346 142 000350 143 000355 144 000361 146 000375 147 000401 149 000404 151 000412 152 000416 153 000421 154 000424 155 000426 156 000430 159 000432 160 000452 162 000470 163 000512 165 000530 166 000535 167 000537 169 000541 ----------------------------------------------------------- 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