COMPILATION LISTING OF SEGMENT cobol_gen_ioerror 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 0950.4 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,MCR8060), 17* audit(89-05-05,RWaters), install(89-05-24,MR12.3-1048): 18* MCR8060 cobol_gen_ioerror.pl1 Reformatted code to new Cobol standard. 19* END HISTORY COMMENTS */ 20 21 22 /* Modified on 06/27/79 by FCH, [4.0-1], entry finish_up_not added for debug */ 23 /* Modified since Version 4.0 */ 24 25 /* format: style3 */ 26 cobol_gen_ioerror: 27 proc (ft_ptr, ioerror_ptr); 28 29 dcl ft_ptr ptr; /* ptr to the file table */ 30 dcl ioerror_ptr ptr; /* ptr to additional error information */ 31 32 /*[4.0-1]*/ 33 declare passed_tag fixed bin; 34 35 dcl 1 ioerror based (ioerror_ptr), 36 2 cobol_code fixed bin, 37 2 retry_tag fixed bin, /* tagno of retry address; 0 means just reissue error */ 38 2 is_tag fixed bin, /* tagno of imperative statement; 0 if none */ 39 2 ns_tag fixed bin, /* tagno of next statement; always reserved by caller */ 40 /* defined by finish_up if is_tag=0; else by gen driver */ 41 2 type1_ptr ptr, /* pts to reserved word token for the verb of caller */ 42 2 mode fixed bin; /* -1 = file unopen at time of error - no categorical use procs apply 43* 2 = file is being opened extend 0>m>21 44* 3 = file is being opened input 20>m>41 45* 4 = file is being opened i-o 40>m>61 46* 5 = file is being opened output 60>m */ 47 48 dcl file_key_desc char (40) based; /* a template for fkey_type9.file_key_info */ 49 50 51 dcl retry_tag fixed bin; 52 dcl ntag fixed bin; 53 dcl mode_count fixed bin; 54 dcl temp_error_exit fixed bin; 55 56 dcl fkey_ptr ptr; 57 58 dcl lda_sw bit (1); 59 dcl fsbptr_sw bit (1); 60 dcl perform_mode_sw bit (1); 61 dcl io_sw bit (1); /*[4.0-1]*/ 62 declare new_tag fixed bin; 63 64 /*************************************/ 65 start: 66 if file_table.file_status 67 then call set_status (addr (skey12_type9), addr (skey3_type9)); 68 if ioerror.is_tag > 0 69 then do; /* an imperative statement follows */ 70 call cobol_emit (addr (check_is_instr), null (), 2); 71 call cobol_make_tagref (ioerror.is_tag, cobol_$text_wd_off - 1, null ()); 72 end; 73 perform_mode_sw = "0"b; /*-07/07/76-*/ 74 temp_error_exit = file_table.error_exit; 75 if file_table.error_exit ^= 0 76 then call perform_use (temp_error_exit); /* specific use proc */ 77 else do; /* check for categorical use procs */ 78 mode_count = 0; 79 if ^file_table.external 80 then do; /* can skip check for int file opened in only 1 mode */ 81 if file_table.open_ext 82 then mode_count = mode_count + 1; 83 if file_table.open_in 84 then mode_count = mode_count + 1; 85 if file_table.open_out 86 then mode_count = mode_count + 1; 87 if file_table.open_io 88 then mode_count = mode_count + 1; 89 end; 90 lda_sw, fsbptr_sw, io_sw = "0"b; 91 if ioerror.mode = 0 92 then do; 93 if fixed_common.extend_error_exit ^= 0 94 then /* possible to be opened EXTEND? */ 95 if (^file_table.external & file_table.open_ext) 96 | (file_table.external & file_table.organization = 1 97 & (file_table.write | file_table.close | file_table.open_ext)) 98 then call perform_mode (fixed_common.extend_error_exit, extend_mode); 99 if fixed_common.input_error_exit ^= 0 100 then /* possible to be opened INPUT? */ 101 if (^file_table.external & file_table.open_in) 102 | (file_table.external 103 & (file_table.read | file_table.start | file_table.close | file_table.open_in)) 104 then call perform_mode (fixed_common.input_error_exit, input_mode); 105 if fixed_common.output_error_exit ^= 0 106 then /* possible to be opened OUTPUT? */ 107 if (^file_table.external & file_table.open_out) 108 | (file_table.external 109 & (file_table.write | file_table.close | file_table.open_out)) 110 then call perform_mode (fixed_common.output_error_exit, output_mode); 111 if fixed_common.i_o_error_exit ^= 0 112 then /* possible to be opened I-O? */ 113 if (^file_table.external & file_table.open_io) 114 | (file_table.external 115 & (file_table.read | file_table.rewrite | file_table.start | file_table.delete 116 | file_table.close | file_table.open_io)) 117 then do; 118 io_sw = "1"b; 119 call perform_mode (fixed_common.i_o_error_exit, i_o_mode); 120 end; 121 end; 122 else if ioerror.mode > 0 123 then do; 124 mode_count = 1; 125 if ioerror.mode > 48 126 then if fixed_common.output_error_exit ^= 0 127 then call perform_mode (fixed_common.output_error_exit, output_mode); 128 else ; 129 else if ioerror.mode > 32 130 then if fixed_common.i_o_error_exit ^= 0 131 then call perform_mode (fixed_common.i_o_error_exit, i_o_mode); 132 else ; 133 else if ioerror.mode > 16 134 then if fixed_common.input_error_exit ^= 0 135 then call perform_mode (fixed_common.input_error_exit, input_mode); 136 else ; 137 else if fixed_common.extend_error_exit ^= 0 138 then call perform_mode (fixed_common.extend_error_exit, extend_mode); 139 end; 140 141 if (mode_count ^= 1 & mode_count ^= 4) | ^perform_mode_sw 142 then do; /* must provide fall-thru */ 143 retry_tag = ioerror.retry_tag; 144 if retry_tag = 0 145 then do; 146 retry_tag = cobol_$next_tag; 147 cobol_$next_tag = cobol_$next_tag + 1; 148 call cobol_define_tag (retry_tag); 149 end; 150 call cobol_gen_error (ioerror.cobol_code, retry_tag); 151 end; 152 end; 153 return; 154 155 156 /*************************************/ 157 /* SUBROUTINES */ 158 /*************************************/ 159 160 perform_mode: 161 proc (procno, mode); 162 dcl procno fixed bin; 163 dcl mode fixed bin; 164 165 if mode_count ^= 1 166 then do; 167 ntag = cobol_$next_tag; 168 cobol_$next_tag = cobol_$next_tag + 1; 169 if ^fsbptr_sw 170 then do; 171 call cobol_set_fsbptr (ft_ptr); 172 fsbptr_sw = "1"b; 173 end; 174 if ^lda_sw 175 then do; 176 call cobol_emit (addr (set_mode_instr), null (), 2); 177 lda_sw = "1"b; 178 end; 179 if ^(mode_count = 4 & io_sw) 180 then do; /* no need to compare - can just fall in */ 181 substr (cmpa_dl_instr, 1, 18) = substr (unspec (mode), 19, 18); 182 call cobol_emit (addr (cmpa_dl_instr), null (), 1); 183 call cobol_emit (addr (tnz_instr), null (), 1); 184 call cobol_make_tagref (ntag, cobol_$text_wd_off - 1, null ()); 185 end; 186 end; 187 call perform_use (procno); 188 perform_mode_sw = "1"b; /* if not at least once, then must provide fall-thru */ 189 if mode_count ^= 1 190 then call cobol_define_tag (ntag); 191 return; 192 end perform_mode; 193 194 195 perform_use: 196 proc (procno); 197 dcl procno fixed bin; 198 199 if ^perform_mode_sw 200 then call cobol_gen_error$use (ioerror.cobol_code); 201 /* record error (once) */ 202 mpout.pt1 = ioerror.type1_ptr; 203 type7.proc_num = procno; 204 mpout.pt2, mpout.pt3 = addr (type7); 205 mpout.pt4 = addr (perform_type19); 206 call cobol_perform_gen (addr (mpout)); 207 call cobol_emit (addr (tra_instr), null (), 1); /* and go to next statement */ 208 call cobol_make_tagref (ioerror.ns_tag, cobol_$text_wd_off - 1, null ()); 209 return; 210 end perform_use; 211 212 213 set_status: 214 proc (skey12_ptr, skey3_ptr); 215 dcl skey12_ptr ptr; 216 dcl skey3_ptr ptr; 217 218 call cobol_read_rand (1, file_table.file_status_info, fkey_ptr); 219 addr (fkey_type9.file_key_info) -> file_key_desc = file_key.desc; 220 mpout.pt1 = ioerror.type1_ptr; 221 mpout.pt2 = skey12_ptr; 222 mpout.pt3 = addr (fkey_type9); 223 mpout.pt4 = addr (perform_type19); 224 call cobol_move_gen (addr (mpout)); 225 if file_table.extra_status 226 then do; 227 call cobol_read_rand (1, file_table.extra_status_info, fkey_ptr); 228 addr (fkey_type9.file_key_info) -> file_key_desc = file_key.desc; 229 mpout.pt2 = skey3_ptr; 230 call cobol_move_gen (addr (mpout)); 231 end; 232 return; 233 end set_status; 234 235 236 /*************************************/ 237 /*************************************/ 238 finish_up: 239 entry (ft_ptr, ioerror_ptr); 240 241 if file_table.file_status 242 then call set_status (addr (zero_type1), addr (zero_type1)); 243 if ioerror.is_tag = 0 244 then call cobol_define_tag (ioerror.ns_tag); 245 else do; /* an imperative statement follows */ 246 call cobol_emit (addr (tra_instr), null (), 1); 247 /* transfer around the imperative statement */ 248 call cobol_make_tagref (ioerror.ns_tag, cobol_$text_wd_off - 1, null ()); 249 /* gen driver will define this */ 250 call cobol_define_tag (ioerror.is_tag); 251 call cobol_reg_manager$set_pr5; /* must do now since we have come directly here */ 252 end; 253 return; 254 255 256 finish_up_not: 257 entry (passed_tag); 258 259 /*[4.0-1]*/ 260 new_tag = cobol_$next_tag; /*[4.0-1]*/ 261 cobol_$next_tag = cobol_$next_tag + 1; 262 263 /*[4.0-1]*/ 264 call cobol_emit (addr (tra_instr), null (), 1); /*[4.0-1]*/ 265 call cobol_make_tagref (new_tag, cobol_$text_wd_off - 1, null ()); 266 267 /*[4.0-1]*/ 268 call cobol_define_tag (passed_tag); 269 270 /*[4.0-1]*/ 271 passed_tag = new_tag; 272 273 /*[4.0-1]*/ 274 return; 275 1 1 1 2 dcl 1 mpout static, 1 3 2 n fixed bin init(4), 1 4 2 pt1 ptr, 1 5 2 pt2 ptr, 1 6 2 pt3 ptr, 1 7 2 pt4 ptr; 1 8 1 9 /* VARIABLE TOKEN DEFINITIONS */ 1 10 dcl 1 fkey_type9 static, 1 11 2 header (4) fixed bin init(112,0,0,9), 1 12 2 repl_ptr (2) ptr init((2)null()), 1 13 2 fill1 bit(108) init(""b), 1 14 2 file_key_info, 1 15 3 fb (6) fixed bin init(0,0,0,0,0,0), 1 16 3 flags1 bit(36) init(""b), 1 17 3 flags2 bit(36) init(""b), 1 18 3 seg fixed bin, 1 19 3 off fixed bin, 1 20 2 fill2 (7) fixed bin init(0,0,0,0,0,0,0); 1 21 1 22 dcl 1 type7 static, 1 23 2 size fixed bin init(52), 1 24 2 line fixed bin init(0), 1 25 2 column fixed bin init(0), 1 26 2 type fixed bin init(7), 1 27 2 string_ptr ptr init(null()), 1 28 2 prev_rec ptr init(null()), 1 29 2 bits1 bit(4) init(""b), 1 30 2 section_name bit(1) init("1"b), 1 31 2 declarative_proc bit(1) init("1"b), 1 32 2 bits2 bit(3) init(""b), 1 33 2 priority char(2) init("00"), 1 34 2 bits3 bit(9) init(""b), 1 35 2 section_num fixed bin init(0), 1 36 2 proc_num fixed bin init(0), 1 37 2 def_line fixed bin init(0), 1 38 2 name_size fixed bin init(0); 1 39 1 40 /* CONSTANT TOKEN DEFINITIONS */ 1 41 dcl 1 zero_type1 static options(constant), 1 42 2 size fixed bin init(28), 1 43 2 line fixed bin init(0), 1 44 2 column fixed bin init(0), 1 45 2 type fixed bin init(1), 1 46 2 key fixed bin init(180), /* ZERO */ 1 47 2 bits bit(36) init("001"b); /* figurative constant */ 1 48 1 49 dcl 1 skey12_type9 static , 1 50 2 header (4) fixed bin init(112,0,0,9), 1 51 2 repl_ptr (2) ptr init((2)null()), 1 52 2 fill1 bit(108) init(""b), 1 53 2 file_key_info, 1 54 3 fb1 (3) fixed bin init(0,0,0), 1 55 3 size fixed bin init(2), 1 56 3 places_left fixed bin init(2), 1 57 3 places_right fixed bin init(0), 1 58 3 flags1 bit(36) init("010000100100000001000000000100000000"b), 1 59 3 flags2 bit(36) init(""b), 1 60 3 seg fixed bin init(1000), /* stack */ 1 61 3 off fixed bin init(42*4), /* pr6|42 */ 1 62 2 fill2 (7) fixed bin init(0,0,0,0,0,0,0); 1 63 1 64 dcl 1 skey3_type9 static , 1 65 2 header (4) fixed bin init(112,0,0,9), 1 66 2 repl_ptr (2) ptr init((2)null()), 1 67 2 fill1 bit(108) init(""b), 1 68 2 file_key_info, 1 69 3 fb1 (3) fixed bin init(0,0,0), 1 70 3 size fixed bin init(4), 1 71 3 fb2 (2) fixed bin init(0,0), 1 72 3 flags1 bit(36) init("010000100100000000010000000100000000"b), 1 73 3 flags2 bit(36) init(""b), 1 74 3 seg fixed bin init(1000), /* stack */ 1 75 3 off fixed bin init(43*4), /* pr6|43 */ 1 76 2 fill2 (7) fixed bin init(0,0,0,0,0,0,0); 1 77 1 78 dcl 1 move_type19 static options(constant), 1 79 2 size fixed bin init(38), 1 80 2 line fixed bin init(0), 1 81 2 column fixed bin init(0), 1 82 2 type fixed bin init(19), 1 83 2 verb fixed bin init(18), /* move */ 1 84 2 e fixed bin init(1), 1 85 2 h fixed bin init(0), 1 86 2 i fixed bin init(0), 1 87 2 j fixed bin init(0), 1 88 2 a bit(3) init(""b), 1 89 2 b bit(1) init(""b), 1 90 2 c bit(1) init(""b), 1 91 2 d bit(2) init(""b), 1 92 2 f bit(2) init(""b), 1 93 2 g bit(2) init(""b), 1 94 2 k bit(5) init(""b); 1 95 1 96 dcl 1 perform_type19 static options(constant), 1 97 2 size fixed bin init(38), 1 98 2 line fixed bin init(0), 1 99 2 column fixed bin init(0), 1 100 2 type fixed bin init(19), 1 101 2 verb fixed bin init(20), /* perform */ 1 102 2 e fixed bin init(1), 1 103 2 h fixed bin init(0), 1 104 2 i fixed bin init(0), 1 105 2 j fixed bin init(0), 1 106 2 a bit(3) init(""b), 1 107 2 b bit(1) init(""b), 1 108 2 c bit(1) init(""b), 1 109 2 d bit(2) init(""b), 1 110 2 f bit(2) init(""b), 1 111 2 g bit(2) init(""b), 1 112 2 k bit(5) init(""b); 1 113 1 114 /* INSTRUCTION DEFINITIONS */ 1 115 dcl cmpa_dl_instr bit(36) static init( "000000000000000000001001101000000111"b); 1 116 1 117 dcl tra_instr bit(36) static options(constant) init( "000000000000000000111001000000000100"b); 1 118 dcl tnz_instr bit(36) static options(constant) init( "000000000000000000110000001000000100"b); 1 119 dcl set_mode_instr(2) bit(36) static options(constant) init( 1 120 "001000000000000010010011101001000000"b, /* lda pr1|2 */ 1 121 "000000000000110000011111101000000111"b); /* ana 60,dl */ 1 122 dcl check_is_instr(2) bit(36) static options(constant) init( 1 123 "110000000000101001010011101001000000"b, /* lda pr6|51 */ 1 124 "000000000000000000110000001000000100"b); /* tnz [is_tag],ic */ 1 125 1 126 dcl ( extend_mode fixed bin init(0), 1 127 input_mode fixed bin init(16), 1 128 i_o_mode fixed bin init(32), 1 129 output_mode fixed bin init(48) ) static options(constant); 1 130 1 131 /* ENTRY DEFINITIONS */ 1 132 /* utilities */ 1 133 dcl cobol_reg_manager$set_pr5 entry; 1 134 dcl cobol_emit entry(ptr,ptr,fixed bin); 1 135 dcl cobol_read_rand entry(fixed bin,char(5),ptr); 1 136 dcl cobol_make_tagref entry(fixed bin,fixed bin,ptr); 1 137 dcl cobol_define_tag entry(fixed bin); 1 138 /* sub-generators */ 1 139 dcl cobol_gen_error entry(fixed bin,fixed bin); 1 140 dcl cobol_gen_error$use entry(fixed bin); 1 141 dcl cobol_perform_gen entry(ptr); 1 142 dcl cobol_move_gen entry(ptr); 1 143 dcl cobol_set_fsbptr entry(ptr); 1 144 1 145 1 146 /***** Declaration for builtin function *****/ 1 147 1 148 dcl (substr,mod,binary,fixed,addr,addrel,rel,length, 1 149 string,unspec,null,index) builtin; 1 150 1 151 /***** End of declaration for builtin function *****/ 1 152 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 1 153 3 1 3 2 /* BEGIN INCLUDE FILE ... cobol_file_key.incl.pl1 */ 3 3 /* Last modified on 03/30/78 by FCH */ 3 4 3 5 /* 3 6*A file key record is created in variable common for any one of several 3 7*data items which may be associated with a file name. The key_type field in 3 8*the file key record identifies the type of item for which the record is 3 9*created. The name in a file key record is resolved by the replacement 3 10*phase, and a section of the type 9 entry in the name table for the 3 11*specified data item is stored in the file key record. The stored 3 12*description is subsequently used by the generator phase. 3 13**/ 3 14 3 15 /* THE FILE KEY RECORD STRUCTURE */ 3 16 3 17 dcl 1 file_key based (fkey_ptr), 3 18 2 next char(5), 3 19 2 next_alt char(5), 3 20 2 qual char(5), 3 21 2 info, 3 22 3 duplicates bit(1), 3 23 3 filler bit(7), 3 24 2 file_no fixed bin, 3 25 2 key_type fixed bin, 3 26 2 line fixed bin, 3 27 2 column fixed bin, 3 28 2 temp_seg fixed bin, 3 29 2 temp_offset fixed bin(24), 3 30 2 desc char(40), 3 31 2 name_size fixed bin, 3 32 2 name char(0 refer(file_key.name_size)); 3 33 3 34 /* END INCLUDE FILE ... cobol_file_key.incl.pl1 */ 3 35 1 154 4 1 4 2 /* BEGIN INCLUDE FILE ... cobol_.incl.pl1 */ 4 3 /* last modified Feb 4, 1977 by ORN */ 4 4 4 5 /* This file defines all external data used in the generator phase of Multics Cobol */ 4 6 4 7 /* POINTERS */ 4 8 dcl cobol_$text_base_ptr ptr ext; 4 9 dcl text_base_ptr ptr defined (cobol_$text_base_ptr); 4 10 dcl cobol_$con_end_ptr ptr ext; 4 11 dcl con_end_ptr ptr defined (cobol_$con_end_ptr); 4 12 dcl cobol_$def_base_ptr ptr ext; 4 13 dcl def_base_ptr ptr defined (cobol_$def_base_ptr); 4 14 dcl cobol_$link_base_ptr ptr ext; 4 15 dcl link_base_ptr ptr defined (cobol_$link_base_ptr); 4 16 dcl cobol_$sym_base_ptr ptr ext; 4 17 dcl sym_base_ptr ptr defined (cobol_$sym_base_ptr); 4 18 dcl cobol_$reloc_text_base_ptr ptr ext; 4 19 dcl reloc_text_base_ptr ptr defined (cobol_$reloc_text_base_ptr); 4 20 dcl cobol_$reloc_def_base_ptr ptr ext; 4 21 dcl reloc_def_base_ptr ptr defined (cobol_$reloc_def_base_ptr); 4 22 dcl cobol_$reloc_link_base_ptr ptr ext; 4 23 dcl reloc_link_base_ptr ptr defined (cobol_$reloc_link_base_ptr); 4 24 dcl cobol_$reloc_sym_base_ptr ptr ext; 4 25 dcl reloc_sym_base_ptr ptr defined (cobol_$reloc_sym_base_ptr); 4 26 dcl cobol_$reloc_work_base_ptr ptr ext; 4 27 dcl reloc_work_base_ptr ptr defined (cobol_$reloc_work_base_ptr); 4 28 dcl cobol_$pd_map_ptr ptr ext; 4 29 dcl pd_map_ptr ptr defined (cobol_$pd_map_ptr); 4 30 dcl cobol_$fixup_ptr ptr ext; 4 31 dcl fixup_ptr ptr defined (cobol_$fixup_ptr); 4 32 dcl cobol_$initval_base_ptr ptr ext; 4 33 dcl initval_base_ptr ptr defined (cobol_$initval_base_ptr); 4 34 dcl cobol_$initval_file_ptr ptr ext; 4 35 dcl initval_file_ptr ptr defined (cobol_$initval_file_ptr); 4 36 dcl cobol_$perform_list_ptr ptr ext; 4 37 dcl perform_list_ptr ptr defined (cobol_$perform_list_ptr); 4 38 dcl cobol_$alter_list_ptr ptr ext; 4 39 dcl alter_list_ptr ptr defined (cobol_$alter_list_ptr); 4 40 dcl cobol_$seg_init_list_ptr ptr ext; 4 41 dcl seg_init_list_ptr ptr defined (cobol_$seg_init_list_ptr); 4 42 dcl cobol_$temp_token_area_ptr ptr ext; 4 43 dcl temp_token_area_ptr ptr defined (cobol_$temp_token_area_ptr); 4 44 dcl cobol_$temp_token_ptr ptr ext; 4 45 dcl temp_token_ptr ptr defined (cobol_$temp_token_ptr); 4 46 dcl cobol_$token_block1_ptr ptr ext; 4 47 dcl token_block1_ptr ptr defined (cobol_$token_block1_ptr); 4 48 dcl cobol_$token_block2_ptr ptr ext; 4 49 dcl token_block2_ptr ptr defined (cobol_$token_block2_ptr); 4 50 dcl cobol_$minpral5_ptr ptr ext; 4 51 dcl minpral5_ptr ptr defined (cobol_$minpral5_ptr); 4 52 dcl cobol_$tag_table_ptr ptr ext; 4 53 dcl tag_table_ptr ptr defined (cobol_$tag_table_ptr); 4 54 dcl cobol_$map_data_ptr ptr ext; 4 55 dcl map_data_ptr ptr defined (cobol_$map_data_ptr); 4 56 dcl cobol_$ptr_status_ptr ptr ext; 4 57 dcl ptr_status_ptr ptr defined (cobol_$ptr_status_ptr); 4 58 dcl cobol_$reg_status_ptr ptr ext; 4 59 dcl reg_status_ptr ptr defined (cobol_$reg_status_ptr); 4 60 dcl cobol_$misc_base_ptr ptr ext; 4 61 dcl misc_base_ptr ptr defined (cobol_$misc_base_ptr); 4 62 dcl cobol_$misc_end_ptr ptr ext; 4 63 dcl misc_end_ptr ptr defined (cobol_$misc_end_ptr); 4 64 dcl cobol_$list_ptr ptr ext; 4 65 dcl list_ptr ptr defined (cobol_$list_ptr); 4 66 dcl cobol_$allo1_ptr ptr ext; 4 67 dcl allo1_ptr ptr defined (cobol_$allo1_ptr); 4 68 dcl cobol_$eln_ptr ptr ext; 4 69 dcl eln_ptr ptr defined (cobol_$eln_ptr); 4 70 dcl cobol_$diag_ptr ptr ext; 4 71 dcl diag_ptr ptr defined (cobol_$diag_ptr); 4 72 dcl cobol_$xref_token_ptr ptr ext; 4 73 dcl xref_token_ptr ptr defined (cobol_$xref_token_ptr); 4 74 dcl cobol_$xref_chain_ptr ptr ext; 4 75 dcl xref_chain_ptr ptr defined (cobol_$xref_chain_ptr); 4 76 dcl cobol_$statement_info_ptr ptr ext; 4 77 dcl statement_info_ptr ptr defined (cobol_$statement_info_ptr); 4 78 dcl cobol_$reswd_ptr ptr ext; 4 79 dcl reswd_ptr ptr defined (cobol_$reswd_ptr); 4 80 dcl cobol_$op_con_ptr ptr ext; 4 81 dcl op_con_ptr ptr defined (cobol_$op_con_ptr); 4 82 dcl cobol_$ntbuf_ptr ptr ext; 4 83 dcl ntbuf_ptr ptr defined (cobol_$ntbuf_ptr); 4 84 dcl cobol_$main_pcs_ptr ptr ext; 4 85 dcl main_pcs_ptr ptr defined (cobol_$main_pcs_ptr); 4 86 dcl cobol_$include_info_ptr ptr ext; 4 87 dcl include_info_ptr ptr defined (cobol_$include_info_ptr); 4 88 4 89 /* FIXED BIN */ 4 90 dcl cobol_$text_wd_off fixed bin ext; 4 91 dcl text_wd_off fixed bin defined (cobol_$text_wd_off); 4 92 dcl cobol_$con_wd_off fixed bin ext; 4 93 dcl con_wd_off fixed bin defined (cobol_$con_wd_off); 4 94 dcl cobol_$def_wd_off fixed bin ext; 4 95 dcl def_wd_off fixed bin defined (cobol_$def_wd_off); 4 96 dcl cobol_$def_max fixed bin ext; 4 97 dcl def_max fixed bin defined (cobol_$def_max); 4 98 dcl cobol_$link_wd_off fixed bin ext; 4 99 dcl link_wd_off fixed bin defined (cobol_$link_wd_off); 4 100 dcl cobol_$link_max fixed bin ext; 4 101 dcl link_max fixed bin defined (cobol_$link_max); 4 102 dcl cobol_$sym_wd_off fixed bin ext; 4 103 dcl sym_wd_off fixed bin defined (cobol_$sym_wd_off); 4 104 dcl cobol_$sym_max fixed bin ext; 4 105 dcl sym_max fixed bin defined (cobol_$sym_max); 4 106 dcl cobol_$reloc_text_max fixed bin(24) ext; 4 107 dcl reloc_text_max fixed bin(24) defined (cobol_$reloc_text_max); 4 108 dcl cobol_$reloc_def_max fixed bin(24) ext; 4 109 dcl reloc_def_max fixed bin(24) defined (cobol_$reloc_def_max); 4 110 dcl cobol_$reloc_link_max fixed bin(24) ext; 4 111 dcl reloc_link_max fixed bin(24) defined (cobol_$reloc_link_max); 4 112 dcl cobol_$reloc_sym_max fixed bin(24) ext; 4 113 dcl reloc_sym_max fixed bin(24) defined (cobol_$reloc_sym_max); 4 114 dcl cobol_$reloc_work_max fixed bin(24) ext; 4 115 dcl reloc_work_max fixed bin(24) defined (cobol_$reloc_work_max); 4 116 dcl cobol_$pd_map_index fixed bin ext; 4 117 dcl pd_map_index fixed bin defined (cobol_$pd_map_index); 4 118 dcl cobol_$cobol_data_wd_off fixed bin ext; 4 119 dcl cobol_data_wd_off fixed bin defined (cobol_$cobol_data_wd_off); 4 120 dcl cobol_$stack_off fixed bin ext; 4 121 dcl stack_off fixed bin defined (cobol_$stack_off); 4 122 dcl cobol_$max_stack_off fixed bin ext; 4 123 dcl max_stack_off fixed bin defined (cobol_$max_stack_off); 4 124 dcl cobol_$init_stack_off fixed bin ext; 4 125 dcl init_stack_off fixed bin defined (cobol_$init_stack_off); 4 126 dcl cobol_$pd_map_sw fixed bin ext; 4 127 dcl pd_map_sw fixed bin defined (cobol_$pd_map_sw); 4 128 dcl cobol_$next_tag fixed bin ext; 4 129 dcl next_tag fixed bin defined (cobol_$next_tag); 4 130 dcl cobol_$data_init_flag fixed bin ext; 4 131 dcl data_init_flag fixed bin defined (cobol_$data_init_flag); 4 132 dcl cobol_$seg_init_flag fixed bin ext; 4 133 dcl seg_init_flag fixed bin defined (cobol_$seg_init_flag); 4 134 dcl cobol_$alter_flag fixed bin ext; 4 135 dcl alter_flag fixed bin defined (cobol_$alter_flag); 4 136 dcl cobol_$sect_eop_flag fixed bin ext; 4 137 dcl sect_eop_flag fixed bin defined (cobol_$sect_eop_flag); 4 138 dcl cobol_$para_eop_flag fixed bin ext; 4 139 dcl para_eop_flag fixed bin defined (cobol_$para_eop_flag); 4 140 dcl cobol_$priority_no fixed bin ext; 4 141 dcl priority_no fixed bin defined (cobol_$priority_no); 4 142 dcl cobol_$compile_count fixed bin ext; 4 143 dcl compile_count fixed bin defined (cobol_$compile_count); 4 144 dcl cobol_$ptr_assumption_ind fixed bin ext; 4 145 dcl ptr_assumption_ind fixed bin defined (cobol_$ptr_assumption_ind); 4 146 dcl cobol_$reg_assumption_ind fixed bin ext; 4 147 dcl reg_assumption_ind fixed bin defined (cobol_$reg_assumption_ind); 4 148 dcl cobol_$perform_para_index fixed bin ext; 4 149 dcl perform_para_index fixed bin defined (cobol_$perform_para_index); 4 150 dcl cobol_$perform_sect_index fixed bin ext; 4 151 dcl perform_sect_index fixed bin defined (cobol_$perform_sect_index); 4 152 dcl cobol_$alter_index fixed bin ext; 4 153 dcl alter_index fixed bin defined (cobol_$alter_index); 4 154 dcl cobol_$list_off fixed bin ext; 4 155 dcl list_off fixed bin defined (cobol_$list_off); 4 156 dcl cobol_$constant_offset fixed bin ext; 4 157 dcl constant_offset fixed bin defined (cobol_$constant_offset); 4 158 dcl cobol_$misc_max fixed bin ext; 4 159 dcl misc_max fixed bin defined (cobol_$misc_max); 4 160 dcl cobol_$pd_map_max fixed bin ext; 4 161 dcl pd_map_max fixed bin defined (cobol_$pd_map_max); 4 162 dcl cobol_$map_data_max fixed bin ext; 4 163 dcl map_data_max fixed bin defined (cobol_$map_data_max); 4 164 dcl cobol_$fixup_max fixed bin ext; 4 165 dcl fixup_max fixed bin defined (cobol_$fixup_max); 4 166 dcl cobol_$tag_table_max fixed bin ext; 4 167 dcl tag_table_max fixed bin defined (cobol_$tag_table_max); 4 168 dcl cobol_$temp_token_max fixed bin ext; 4 169 dcl temp_token_max fixed bin defined (cobol_$temp_token_max); 4 170 dcl cobol_$allo1_max fixed bin ext; 4 171 dcl allo1_max fixed bin defined (cobol_$allo1_max); 4 172 dcl cobol_$eln_max fixed bin ext; 4 173 dcl eln_max fixed bin defined (cobol_$eln_max); 4 174 dcl cobol_$debug_enable fixed bin ext; 4 175 dcl debug_enable fixed bin defined (cobol_$debug_enable); 4 176 dcl cobol_$non_source_offset fixed bin ext; 4 177 dcl non_source_offset fixed bin defined (cobol_$non_source_offset); 4 178 dcl cobol_$initval_flag fixed bin ext; 4 179 dcl initval_flag fixed bin defined (cobol_$initval_flag); 4 180 dcl cobol_$date_compiled_sw fixed bin ext; 4 181 dcl date_compiled_sw fixed bin defined (cobol_$date_compiled_sw); 4 182 dcl cobol_$include_cnt fixed bin ext; 4 183 dcl include_cnt fixed bin defined (cobol_$include_cnt); 4 184 dcl cobol_$fs_charcnt fixed bin ext; 4 185 dcl fs_charcnt fixed bin defined (cobol_$fs_charcnt); 4 186 dcl cobol_$ws_charcnt fixed bin ext; 4 187 dcl ws_charcnt fixed bin defined (cobol_$ws_charcnt); 4 188 dcl cobol_$coms_charcnt fixed bin ext; 4 189 dcl coms_charcnt fixed bin defined (cobol_$coms_charcnt); 4 190 dcl cobol_$ls_charcnt fixed bin ext; 4 191 dcl ls_charcnt fixed bin defined (cobol_$ls_charcnt); 4 192 dcl cobol_$cons_charcnt fixed bin ext; 4 193 dcl cons_charcnt fixed bin defined (cobol_$cons_charcnt); 4 194 dcl cobol_$value_cnt fixed bin ext; 4 195 dcl value_cnt fixed bin defined (cobol_$value_cnt); 4 196 dcl cobol_$cd_cnt fixed bin ext; 4 197 dcl cd_cnt fixed bin defined (cobol_$cd_cnt); 4 198 dcl cobol_$fs_wdoff fixed bin ext; 4 199 dcl fs_wdoff fixed bin defined (cobol_$fs_wdoff); 4 200 dcl cobol_$ws_wdoff fixed bin ext; 4 201 dcl ws_wdoff fixed bin defined (cobol_$ws_wdoff); 4 202 dcl cobol_$coms_wdoff fixed bin ext; 4 203 dcl coms_wdoff fixed bin defined (cobol_$coms_wdoff); 4 204 4 205 /* CHARACTER */ 4 206 dcl cobol_$scratch_dir char (168) aligned ext; 4 207 dcl scratch_dir char (168) aligned defined (cobol_$scratch_dir); /* -42- */ 4 208 dcl cobol_$obj_seg_name char (32) aligned ext; 4 209 dcl obj_seg_name char (32) aligned defined (cobol_$obj_seg_name); /* -8- */ 4 210 4 211 /* BIT */ 4 212 dcl cobol_$xref_bypass bit(1) aligned ext; 4 213 dcl xref_bypass bit(1) aligned defined (cobol_$xref_bypass); /* -1- */ 4 214 dcl cobol_$same_sort_merge_proc bit(1) aligned ext; 4 215 dcl same_sort_merge_proc bit(1) aligned defined (cobol_$same_sort_merge_proc); /* -1- */ 4 216 4 217 4 218 /* END INCLUDE FILE ... cobol_incl.pl1*/ 4 219 4 220 1 155 5 1 5 2 /* BEGIN INCLUDE FILE ... cobol_ext_.incl.pl1 */ 5 3 /* Last modified on 06/17/76 by ORN */ 5 4 /* Last modified on 12/28/76 by FCH */ 5 5 /* Last modified on 12/01/80 by FCH */ 5 6 5 7 /* <<< SHARED EXTERNALS INCLUDE FILE >>> */ 5 8 5 9 5 10 dcl cobol_ext_$cobol_afp ptr ext; 5 11 dcl cobol_afp ptr defined ( cobol_ext_$cobol_afp); 5 12 dcl cobol_ext_$cobol_analin_fileno ptr ext; 5 13 dcl cobol_analin_fileno ptr defined ( cobol_ext_$cobol_analin_fileno); 5 14 dcl cobol_ext_$report_first_token ptr ext; 5 15 dcl report_first_token ptr defined( cobol_ext_$report_first_token); 5 16 dcl cobol_ext_$report_last_token ptr ext; 5 17 dcl report_last_token ptr defined ( cobol_ext_$report_last_token); 5 18 dcl cobol_ext_$cobol_eltp ptr ext; 5 19 dcl cobol_eltp ptr defined ( cobol_ext_$cobol_eltp); 5 20 dcl cobol_ext_$cobol_cmfp ptr ext; 5 21 dcl cobol_cmfp ptr defined ( cobol_ext_$cobol_cmfp); 5 22 dcl cobol_ext_$cobol_com_fileno ptr ext; 5 23 dcl cobol_com_fileno ptr defined ( cobol_ext_$cobol_com_fileno); 5 24 dcl cobol_ext_$cobol_com_ptr ptr ext; 5 25 dcl cobol_com_ptr ptr defined ( cobol_ext_$cobol_com_ptr); 5 26 dcl cobol_ext_$cobol_dfp ptr ext; 5 27 dcl cobol_dfp ptr defined ( cobol_ext_$cobol_dfp); 5 28 dcl cobol_ext_$cobol_hfp ptr ext; 5 29 dcl cobol_hfp ptr defined ( cobol_ext_$cobol_hfp); 5 30 dcl cobol_ext_$cobol_m1fp ptr ext; 5 31 dcl cobol_m1fp ptr defined ( cobol_ext_$cobol_m1fp); 5 32 dcl cobol_ext_$cobol_m2fp ptr ext; 5 33 dcl cobol_m2fp ptr defined ( cobol_ext_$cobol_m2fp); 5 34 dcl cobol_ext_$cobol_min1_fileno ptr ext; 5 35 dcl cobol_min1_fileno ptr defined ( cobol_ext_$cobol_min1_fileno); 5 36 dcl cobol_ext_$cobol_min2_fileno_ptr ptr ext; 5 37 dcl cobol_min2_fileno_ptr ptr defined ( cobol_ext_$cobol_min2_fileno_ptr); 5 38 dcl cobol_ext_$cobol_name_fileno ptr ext; 5 39 dcl cobol_name_fileno ptr defined ( cobol_ext_$cobol_name_fileno); 5 40 dcl cobol_ext_$cobol_name_fileno_ptr ptr ext; 5 41 dcl cobol_name_fileno_ptr ptr defined ( cobol_ext_$cobol_name_fileno_ptr); 5 42 dcl cobol_ext_$cobol_ntfp ptr ext; 5 43 dcl cobol_ntfp ptr defined ( cobol_ext_$cobol_ntfp); 5 44 dcl cobol_ext_$cobol_pdofp ptr ext; 5 45 dcl cobol_pdofp ptr defined ( cobol_ext_$cobol_pdofp); 5 46 dcl cobol_ext_$cobol_pfp ptr ext; 5 47 dcl cobol_pfp ptr defined ( cobol_ext_$cobol_pfp); 5 48 dcl cobol_ext_$cobol_rm2fp ptr ext; 5 49 dcl cobol_rm2fp ptr defined ( cobol_ext_$cobol_rm2fp); 5 50 dcl cobol_ext_$cobol_rmin2fp ptr ext; 5 51 dcl cobol_rmin2fp ptr defined ( cobol_ext_$cobol_rmin2fp); 5 52 dcl cobol_ext_$cobol_curr_in ptr ext; 5 53 dcl cobol_curr_in ptr defined ( cobol_ext_$cobol_curr_in); 5 54 dcl cobol_ext_$cobol_curr_out ptr ext; 5 55 dcl cobol_curr_out ptr defined ( cobol_ext_$cobol_curr_out); 5 56 dcl cobol_ext_$cobol_sfp ptr ext; 5 57 dcl cobol_sfp ptr defined ( cobol_ext_$cobol_sfp); 5 58 dcl cobol_ext_$cobol_w1p ptr ext; 5 59 dcl cobol_w1p ptr defined ( cobol_ext_$cobol_w1p); 5 60 dcl cobol_ext_$cobol_w2p ptr ext; 5 61 dcl cobol_w2p ptr defined ( cobol_ext_$cobol_w2p); 5 62 dcl cobol_ext_$cobol_w3p ptr ext; 5 63 dcl cobol_w3p ptr defined ( cobol_ext_$cobol_w3p); 5 64 dcl cobol_ext_$cobol_w5p ptr ext; 5 65 dcl cobol_w5p ptr defined ( cobol_ext_$cobol_w5p); 5 66 dcl cobol_ext_$cobol_w6p ptr ext; 5 67 dcl cobol_w6p ptr defined ( cobol_ext_$cobol_w6p); 5 68 dcl cobol_ext_$cobol_w7p ptr ext; 5 69 dcl cobol_w7p ptr defined ( cobol_ext_$cobol_w7p); 5 70 dcl cobol_ext_$cobol_x3fp ptr ext; 5 71 dcl cobol_x3fp ptr defined ( cobol_ext_$cobol_x3fp); 5 72 dcl cobol_ext_$cobol_rwdd ptr ext; 5 73 dcl cobol_rwdd ptr defined(cobol_ext_$cobol_rwdd); 5 74 dcl cobol_ext_$cobol_rwpd ptr ext; 5 75 dcl cobol_rwpd ptr defined(cobol_ext_$cobol_rwpd); 5 76 5 77 5 78 dcl cobol_ext_$cobol_fileno1 fixed bin(24)ext; 5 79 dcl cobol_fileno1 fixed bin(24)defined ( cobol_ext_$cobol_fileno1); 5 80 dcl cobol_ext_$cobol_options_len fixed bin(24)ext; 5 81 dcl cobol_options_len fixed bin(24)defined ( cobol_ext_$cobol_options_len); 5 82 dcl cobol_ext_$cobol_pdout_fileno fixed bin(24)ext; 5 83 dcl cobol_pdout_fileno fixed bin(24)defined ( cobol_ext_$cobol_pdout_fileno); 5 84 dcl cobol_ext_$cobol_print_fileno fixed bin(24)ext; 5 85 dcl cobol_print_fileno fixed bin(24)defined ( cobol_ext_$cobol_print_fileno); 5 86 dcl cobol_ext_$cobol_rmin2_fileno fixed bin(24)ext; 5 87 dcl cobol_rmin2_fileno fixed bin(24)defined ( cobol_ext_$cobol_rmin2_fileno); 5 88 dcl cobol_ext_$cobol_x1_fileno fixed bin(24)ext; 5 89 dcl cobol_x1_fileno fixed bin(24)defined ( cobol_ext_$cobol_x1_fileno); 5 90 dcl cobol_ext_$cobol_x2_fileno fixed bin(24)ext; 5 91 dcl cobol_x2_fileno fixed bin(24)defined ( cobol_ext_$cobol_x2_fileno); 5 92 dcl cobol_ext_$cobol_x3_fileno fixed bin(24)ext; 5 93 dcl cobol_x3_fileno fixed bin(24)defined ( cobol_ext_$cobol_x3_fileno); 5 94 5 95 dcl cobol_ext_$cobol_lpr char (5) ext; 5 96 dcl cobol_lpr char (5) defined ( cobol_ext_$cobol_lpr); /* -2- */ 5 97 dcl cobol_ext_$cobol_options char (120) ext; 5 98 dcl cobol_options char (120) defined ( cobol_ext_$cobol_options); /* -30- */ 5 99 5 100 dcl cobol_ext_$cobol_xlast8 bit (1) ext; 5 101 dcl cobol_xlast8 bit (1) defined ( cobol_ext_$cobol_xlast8); /* -1- */ 5 102 dcl cobol_ext_$report_exists bit (1) ext; 5 103 dcl report_exists bit (1) defined ( cobol_ext_$report_exists); 5 104 5 105 5 106 /* <<< END OF SHARED EXTERNALS INCLUDE FILE >>> */ 5 107 /* END INCLUDE FILE ... cobol_ext_.incl.pl1 */ 5 108 1 156 6 1 6 2 /* BEGIN INCLUDE FILE ... cobol_fixed_common.incl.pl1 */ 6 3 /* Modified on 10/27/82 by FCH, [5.1-1], cobol_cln added to save last line num, BUG543(phx13643) */ 6 4 /* Modified on 07/31/80 by FCH, [4.3-1], use_reporting field added for Report Writer */ 6 5 /* Modified on 03/30/79 by FCH, [4.1-1], -card option added */ 6 6 /* Modified on 03/30/79 by FCH, [4.0-2], -svNM option added */ 6 7 /* Modified on 03/02/79 by FCH, [4.0-1], -levNM option added */ 6 8 /* Modified by RAL on 10/13/78, [4.0-0], Added option exp from fil2. */ 6 9 /* Modified by BC on 06/20/77, descriptor added. */ 6 10 /* Modified by BC on 06/02/77, init_cd_seg, init_cd_offset added. */ 6 11 /* Modified by BC on 1/21/77, options.profile added. */ 6 12 /* Modified by FCH on 7/6/76, sysin_fno & sysout_fno deleted, accept_device & display_device added */ 6 13 /* Modified by FCH on 5/20/77, comp_level added */ 6 14 6 15 6 16 /* THE SIZE OF THIS STRUCTURE IN BYTES, (EXCLUDING VARIABLE 6 17* LENGTH ENTITIES), FOR EACH HARDWARE IMPLEMENTATION IS: 6 18* 6 19* HARDWARE | SIZE (BYTES) 6 20* --------------------------------- 6 21* 645/6180 | 464 6 22* P7 | 396 6 23* --------------------------------- 6 24* */ 6 25 6 26 dcl 1 fixed_common based ( cobol_com_ptr), 6 27 2 prog_name char (30), 6 28 2 compiler_rev_no char (25), 6 29 2 phase_name char (6), 6 30 2 currency char (1), 6 31 2 fatal_no fixed bin, 6 32 2 warn_no fixed bin, 6 33 2 proc_counter fixed bin, 6 34 2 spec_tag_counter fixed bin, 6 35 2 file_count fixed bin, 6 36 2 filedescr_offsets (20) char (5), 6 37 2 perf_alter_info char (5), 6 38 2 another_perform_info char (5), 6 39 2 sort_in_info char (5), 6 40 2 odo_info char (5), 6 41 2 size_seg fixed bin, 6 42 2 size_offset fixed bin(24), 6 43 2 size_perform_info char (5), 6 44 2 rename_info char (5), 6 45 2 report_names char (5), 6 46 2 rw_buf_seg fixed bin, 6 47 2 rw_buf_offset fixed bin(24), 6 48 2 rw_buf_length fixed bin(24), 6 49 2 file_keys char (5), 6 50 2 search_keys char (5), 6 51 2 dd_seg_size fixed bin(24), 6 52 2 pd_seg_size fixed bin(24), 6 53 2 seg_limit fixed bin , 6 54 2 number_of_dd_segs fixed bin, 6 55 2 seg_info char (5), 6 56 2 number_of_ls_pointers fixed bin, 6 57 2 link_sec_seg fixed bin, 6 58 2 link_sec_offset fixed bin(24), 6 59 2 sra_clauses fixed bin, 6 60 2 fix_up_info char (5), 6 61 2 linage_info char (5), 6 62 2 first_dd_item char (5), 6 63 2 sort_out_info char (5), 6 64 2 db_info char (5), 6 65 2 realm_info char (5), 6 66 2 rc_realm_info char (5), 6 67 2 last_file_key char (5), 6 68 2 prog_coll_seq fixed bin, 6 69 2 init_cd_seg fixed bin, 6 70 2 init_cd_offset fixed bin(24), 6 71 2 input_error_exit fixed bin, 6 72 2 output_error_exit fixed bin, 6 73 2 i_o_error_exit fixed bin, 6 74 2 extend_error_exit fixed bin, 6 75 2 dummy15 fixed bin, 6 76 2 options, 6 77 3 cu bit (1), 6 78 3 st bit (1), 6 79 3 wn bit (1), 6 80 3 obs bit (1), 6 81 3 dm bit (1), 6 82 3 xrl bit (1), 6 83 3 xrn bit (1), 6 84 3 src bit (1), 6 85 3 obj bit (1), 6 86 3 exs bit (1), 6 87 3 sck bit (1), 6 88 3 rno bit (1), 6 89 3 u_l bit (1), 6 90 3 cnv bit (1), 6 91 3 cos bit (1), 6 92 3 fmt bit (1), 6 93 3 profile bit(1), 6 94 3 nw bit (1), 6 95 3 exp bit (1), /* [4.0-0] */ 6 96 3 card bit (1), /*[4.1-1]*/ 6 97 3 fil2 bit (5), 6 98 3 m_map bit (1), 6 99 3 m_bf bit (1), 6 100 3 m_fat bit (1), 6 101 3 m_wn bit (1), 6 102 3 m_obs bit(1), 6 103 3 pd bit(1), 6 104 3 oc bit(1), 6 105 2 supervisor bit (1), 6 106 2 dec_comma bit (1), 6 107 2 init_cd bit (1), 6 108 2 corr bit (1), 6 109 2 initl bit (1), 6 110 2 debug bit (1), 6 111 2 report bit (1), 6 112 2 sync_in_prog bit (1), 6 113 2 pd_section bit (1), 6 114 2 list_switch bit (1), 6 115 2 alpha_cond bit (1), 6 116 2 num_cond bit (1), 6 117 2 spec_sysin bit (1), 6 118 2 spec_sysout bit (1), 6 119 2 cpl_files bit (1), 6 120 2 obj_dec_comma bit (1), 6 121 2 default_sign_type bit (3), 6 122 2 use_debug bit(1), 6 123 2 syntax_trace bit(1), 6 124 2 comp_defaults, 6 125 3 comp bit(1), 6 126 3 comp_1 bit(1), 6 127 3 comp_2 bit(1), 6 128 3 comp_3 bit(1), 6 129 3 comp_4 bit(1), 6 130 3 comp_5 bit(1), 6 131 3 comp_6 bit(1), 6 132 3 comp_7 bit(1), 6 133 3 comp_8 bit(1), 6 134 2 disp_defaults, 6 135 3 disp bit(1), 6 136 3 disp_1 bit(1), 6 137 3 disp_2 bit(1), 6 138 3 disp_3 bit(1), 6 139 3 disp_4 bit(1), 6 140 3 disp_5 bit(1), 6 141 3 disp_6 bit(1), 6 142 3 disp_7 bit(1), 6 143 2 descriptor bit(2), 6 144 2 levsv bit(3), /*[4.0-1]*/ 6 145 2 use_reporting bit(1), /*[4.3-1]*/ 6 146 2 cd bit(1), /*[4.4-1]*/ 6 147 2 dummy17 bit(3), 6 148 2 lvl_rstr bit(32), 6 149 2 inst_rstr bit(32), 6 150 2 comp_level char(1), 6 151 2 dummy18 char(30), 6 152 2 object_sign char (1), 6 153 2 last_print_rec char (5), 6 154 2 coll_seq_info char (5), 6 155 2 sys_status_seg fixed bin, 6 156 2 sys_status_offset fixed bin(24), 6 157 2 compiler_id fixed bin, 6 158 2 date_comp_ln fixed bin, 6 159 2 compile_mode bit(36), 6 160 2 default_temp fixed bin, 6 161 2 accept_device fixed bin, 6 162 2 display_device fixed bin, 6 163 2 cobol_cln fixed bin, /*[5.1-1]*/ 6 164 2 alphabet_offset fixed bin; 6 165 6 166 6 167 6 168 /* END INCLUDE FILE ... cobol_fixed_common.incl.pl1 */ 6 169 1 157 276 277 end cobol_gen_ioerror; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 05/24/89 0831.4 cobol_gen_ioerror.pl1 >spec>install>MR12.3-1048>cobol_gen_ioerror.pl1 276 1 03/27/82 0439.3 cobol_gen_ioerror_data.incl.pl1 >ldd>include>cobol_gen_ioerror_data.incl.pl1 1-153 2 11/11/82 1712.7 cobol_file_table.incl.pl1 >ldd>include>cobol_file_table.incl.pl1 1-154 3 11/11/82 1712.8 cobol_file_key.incl.pl1 >ldd>include>cobol_file_key.incl.pl1 1-155 4 11/11/82 1712.7 cobol_.incl.pl1 >ldd>include>cobol_.incl.pl1 1-156 5 03/27/82 0431.3 cobol_ext_.incl.pl1 >ldd>include>cobol_ext_.incl.pl1 1-157 6 11/11/82 1712.8 cobol_fixed_common.incl.pl1 >ldd>include>cobol_fixed_common.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 1-148 ref 65 65 65 65 70 70 176 176 182 182 183 183 204 205 206 206 207 207 219 222 223 224 224 228 230 230 241 241 241 241 246 246 264 264 check_is_instr 000020 constant bit(36) initial array packed unaligned dcl 1-122 set ref 70 70 close 34 based bit(1) level 2 packed packed unaligned dcl 2-25 ref 93 99 105 111 cmpa_dl_instr 000164 internal static bit(36) initial packed unaligned dcl 1-115 set ref 181* 182 182 cobol_$next_tag 000214 external static fixed bin(17,0) dcl 4-128 set ref 146 147* 147 167 168* 168 260 261* 261 cobol_$text_wd_off 000212 external static fixed bin(17,0) dcl 4-90 ref 71 184 208 248 265 cobol_code based fixed bin(17,0) level 2 dcl 35 set ref 150* 199* cobol_com_ptr defined pointer dcl 5-25 ref 93 93 99 99 105 105 111 119 125 125 129 129 133 133 137 137 cobol_define_tag 000176 constant entry external dcl 1-137 ref 148 189 243 250 268 cobol_emit 000170 constant entry external dcl 1-134 ref 70 176 182 183 207 246 264 cobol_ext_$cobol_com_ptr 000216 external static pointer dcl 5-24 ref 93 93 93 93 99 99 99 99 105 105 105 105 111 111 119 119 125 125 125 125 129 129 129 129 133 133 133 133 137 137 137 137 cobol_gen_error 000200 constant entry external dcl 1-139 ref 150 cobol_gen_error$use 000202 constant entry external dcl 1-140 ref 199 cobol_make_tagref 000174 constant entry external dcl 1-136 ref 71 184 208 248 265 cobol_move_gen 000206 constant entry external dcl 1-142 ref 224 230 cobol_perform_gen 000204 constant entry external dcl 1-141 ref 206 cobol_read_rand 000172 constant entry external dcl 1-135 ref 218 227 cobol_reg_manager$set_pr5 000166 constant entry external dcl 1-133 ref 251 cobol_set_fsbptr 000210 constant entry external dcl 1-143 ref 171 delete 34(01) based bit(1) level 2 packed packed unaligned dcl 2-25 ref 111 desc 12 based char(40) level 2 packed packed unaligned dcl 3-17 ref 219 228 error_exit 77 based fixed bin(17,0) level 2 dcl 2-25 ref 74 75 extend_error_exit 131 based fixed bin(17,0) level 2 dcl 6-26 set ref 93 93* 137 137* extend_mode 000031 constant fixed bin(17,0) initial dcl 1-126 set ref 93* 137* external 33(10) based bit(1) level 2 packed packed unaligned dcl 2-25 ref 79 93 93 99 99 105 105 111 111 extra_status 33(12) based bit(1) level 2 packed packed unaligned dcl 2-25 ref 225 extra_status_info 20 based char(5) level 2 packed packed unaligned dcl 2-25 set ref 227* file_key based structure level 1 unaligned dcl 3-17 file_key_desc based char(40) packed unaligned dcl 48 set ref 219* 228* file_key_info 13 000022 internal static structure level 2 unaligned dcl 1-10 set ref 219 228 file_status 33(11) based bit(1) level 2 packed packed unaligned dcl 2-25 ref 65 241 file_status_info 16(27) based char(5) level 2 packed packed unaligned dcl 2-25 set ref 218* file_table based structure level 1 unaligned dcl 2-25 fixed_common based structure level 1 unaligned dcl 6-26 fkey_ptr 000104 automatic pointer dcl 56 set ref 218* 219 227* 228 fkey_type9 000022 internal static structure level 1 unaligned dcl 1-10 set ref 222 fsbptr_sw 000107 automatic bit(1) packed unaligned dcl 59 set ref 90* 169 172* ft_ptr parameter pointer dcl 29 set ref 26 65 74 75 79 81 83 85 87 93 93 93 93 93 93 93 99 99 99 99 99 99 99 105 105 105 105 105 105 111 111 111 111 111 111 111 111 111 171* 218 225 227 238 241 i_o_error_exit 130 based fixed bin(17,0) level 2 dcl 6-26 set ref 111 119* 129 129* i_o_mode 000027 constant fixed bin(17,0) initial dcl 1-126 set ref 119* 129* input_error_exit 126 based fixed bin(17,0) level 2 dcl 6-26 set ref 99 99* 133 133* input_mode 000026 constant fixed bin(17,0) initial dcl 1-126 set ref 99* 133* io_sw 000111 automatic bit(1) packed unaligned dcl 61 set ref 90* 118* 179 ioerror based structure level 1 unaligned dcl 35 ioerror_ptr parameter pointer dcl 30 ref 26 68 71 91 122 125 129 133 143 150 199 202 208 220 238 243 243 248 250 is_tag 2 based fixed bin(17,0) level 2 dcl 35 set ref 68 71* 243 250* lda_sw 000106 automatic bit(1) packed unaligned dcl 58 set ref 90* 174 177* mode parameter fixed bin(17,0) dcl 163 in procedure "perform_mode" ref 160 181 mode 6 based fixed bin(17,0) level 2 in structure "ioerror" dcl 35 in procedure "cobol_gen_ioerror" ref 91 122 125 129 133 mode_count 000102 automatic fixed bin(17,0) dcl 53 set ref 78* 81* 81 83* 83 85* 85 87* 87 124* 141 141 165 179 189 mpout 000010 internal static structure level 1 unaligned dcl 1-2 set ref 206 206 224 224 230 230 new_tag 000112 automatic fixed bin(17,0) dcl 62 set ref 260* 265* 271 ns_tag 3 based fixed bin(17,0) level 2 dcl 35 set ref 208* 243* 248* ntag 000101 automatic fixed bin(17,0) dcl 52 set ref 167* 184* 189* null builtin function dcl 1-148 ref 70 70 71 71 176 176 182 182 183 183 184 184 207 207 208 208 246 246 248 248 264 264 265 265 open_ext 34(05) based bit(1) level 2 packed packed unaligned dcl 2-25 ref 81 93 93 open_in 34(02) based bit(1) level 2 packed packed unaligned dcl 2-25 ref 83 99 99 open_io 34(04) based bit(1) level 2 packed packed unaligned dcl 2-25 ref 87 111 111 open_out 34(03) based bit(1) level 2 packed packed unaligned dcl 2-25 ref 85 105 105 organization 43 based fixed bin(17,0) level 2 dcl 2-25 ref 93 output_error_exit 127 based fixed bin(17,0) level 2 dcl 6-26 set ref 105 105* 125 125* output_mode 000030 constant fixed bin(17,0) initial dcl 1-126 set ref 105* 125* passed_tag parameter fixed bin(17,0) dcl 33 set ref 256 268* 271* perform_mode_sw 000110 automatic bit(1) packed unaligned dcl 60 set ref 73* 141 188* 199 perform_type19 000006 constant structure level 1 unaligned dcl 1-96 set ref 205 223 proc_num 12 000056 internal static fixed bin(17,0) initial level 2 dcl 1-22 set ref 203* procno parameter fixed bin(17,0) dcl 162 in procedure "perform_mode" set ref 160 187* procno parameter fixed bin(17,0) dcl 197 in procedure "perform_use" ref 195 203 pt1 2 000010 internal static pointer level 2 dcl 1-2 set ref 202* 220* pt2 4 000010 internal static pointer level 2 dcl 1-2 set ref 204* 221* 229* pt3 6 000010 internal static pointer level 2 dcl 1-2 set ref 204* 222* pt4 10 000010 internal static pointer level 2 dcl 1-2 set ref 205* 223* read 34(06) based bit(1) level 2 packed packed unaligned dcl 2-25 ref 99 111 retry_tag 000100 automatic fixed bin(17,0) dcl 51 in procedure "cobol_gen_ioerror" set ref 143* 144 146* 148* 150* retry_tag 1 based fixed bin(17,0) level 2 in structure "ioerror" dcl 35 in procedure "cobol_gen_ioerror" ref 143 rewrite 34(09) based bit(1) level 2 packed packed unaligned dcl 2-25 ref 111 set_mode_instr 000022 constant bit(36) initial array packed unaligned dcl 1-119 set ref 176 176 skey12_ptr parameter pointer dcl 215 ref 213 221 skey12_type9 000074 internal static structure level 1 unaligned dcl 1-49 set ref 65 65 skey3_ptr parameter pointer dcl 216 ref 213 229 skey3_type9 000130 internal static structure level 1 unaligned dcl 1-64 set ref 65 65 start 34(11) based bit(1) level 2 packed packed unaligned dcl 2-25 ref 99 111 substr builtin function dcl 1-148 set ref 181* 181 temp_error_exit 000103 automatic fixed bin(17,0) dcl 54 set ref 74* 75* tnz_instr 000024 constant bit(36) initial packed unaligned dcl 1-118 set ref 183 183 tra_instr 000025 constant bit(36) initial packed unaligned dcl 1-117 set ref 207 207 246 246 264 264 type1_ptr 4 based pointer level 2 dcl 35 ref 202 220 type7 000056 internal static structure level 1 unaligned dcl 1-22 set ref 204 unspec builtin function dcl 1-148 ref 181 write 34(13) based bit(1) level 2 packed packed unaligned dcl 2-25 ref 93 105 zero_type1 000000 constant structure level 1 unaligned dcl 1-41 set ref 241 241 241 241 NAMES DECLARED BY DECLARE STATEMENT AND NEVER REFERENCED. addrel builtin function dcl 1-148 allo1_max defined fixed bin(17,0) dcl 4-171 allo1_ptr defined pointer dcl 4-67 alter_flag defined fixed bin(17,0) dcl 4-135 alter_index defined fixed bin(17,0) dcl 4-153 alter_list_ptr defined pointer dcl 4-39 binary builtin function dcl 1-148 cd_cnt defined fixed bin(17,0) dcl 4-197 cobol_$allo1_max external static fixed bin(17,0) dcl 4-170 cobol_$allo1_ptr external static pointer dcl 4-66 cobol_$alter_flag external static fixed bin(17,0) dcl 4-134 cobol_$alter_index external static fixed bin(17,0) dcl 4-152 cobol_$alter_list_ptr external static pointer dcl 4-38 cobol_$cd_cnt external static fixed bin(17,0) dcl 4-196 cobol_$cobol_data_wd_off external static fixed bin(17,0) dcl 4-118 cobol_$compile_count external static fixed bin(17,0) dcl 4-142 cobol_$coms_charcnt external static fixed bin(17,0) dcl 4-188 cobol_$coms_wdoff external static fixed bin(17,0) dcl 4-202 cobol_$con_end_ptr external static pointer dcl 4-10 cobol_$con_wd_off external static fixed bin(17,0) dcl 4-92 cobol_$cons_charcnt external static fixed bin(17,0) dcl 4-192 cobol_$constant_offset external static fixed bin(17,0) dcl 4-156 cobol_$data_init_flag external static fixed bin(17,0) dcl 4-130 cobol_$date_compiled_sw external static fixed bin(17,0) dcl 4-180 cobol_$debug_enable external static fixed bin(17,0) dcl 4-174 cobol_$def_base_ptr external static pointer dcl 4-12 cobol_$def_max external static fixed bin(17,0) dcl 4-96 cobol_$def_wd_off external static fixed bin(17,0) dcl 4-94 cobol_$diag_ptr external static pointer dcl 4-70 cobol_$eln_max external static fixed bin(17,0) dcl 4-172 cobol_$eln_ptr external static pointer dcl 4-68 cobol_$fixup_max external static fixed bin(17,0) dcl 4-164 cobol_$fixup_ptr external static pointer dcl 4-30 cobol_$fs_charcnt external static fixed bin(17,0) dcl 4-184 cobol_$fs_wdoff external static fixed bin(17,0) dcl 4-198 cobol_$include_cnt external static fixed bin(17,0) dcl 4-182 cobol_$include_info_ptr external static pointer dcl 4-86 cobol_$init_stack_off external static fixed bin(17,0) dcl 4-124 cobol_$initval_base_ptr external static pointer dcl 4-32 cobol_$initval_file_ptr external static pointer dcl 4-34 cobol_$initval_flag external static fixed bin(17,0) dcl 4-178 cobol_$link_base_ptr external static pointer dcl 4-14 cobol_$link_max external static fixed bin(17,0) dcl 4-100 cobol_$link_wd_off external static fixed bin(17,0) dcl 4-98 cobol_$list_off external static fixed bin(17,0) dcl 4-154 cobol_$list_ptr external static pointer dcl 4-64 cobol_$ls_charcnt external static fixed bin(17,0) dcl 4-190 cobol_$main_pcs_ptr external static pointer dcl 4-84 cobol_$map_data_max external static fixed bin(17,0) dcl 4-162 cobol_$map_data_ptr external static pointer dcl 4-54 cobol_$max_stack_off external static fixed bin(17,0) dcl 4-122 cobol_$minpral5_ptr external static pointer dcl 4-50 cobol_$misc_base_ptr external static pointer dcl 4-60 cobol_$misc_end_ptr external static pointer dcl 4-62 cobol_$misc_max external static fixed bin(17,0) dcl 4-158 cobol_$non_source_offset external static fixed bin(17,0) dcl 4-176 cobol_$ntbuf_ptr external static pointer dcl 4-82 cobol_$obj_seg_name external static char(32) dcl 4-208 cobol_$op_con_ptr external static pointer dcl 4-80 cobol_$para_eop_flag external static fixed bin(17,0) dcl 4-138 cobol_$pd_map_index external static fixed bin(17,0) dcl 4-116 cobol_$pd_map_max external static fixed bin(17,0) dcl 4-160 cobol_$pd_map_ptr external static pointer dcl 4-28 cobol_$pd_map_sw external static fixed bin(17,0) dcl 4-126 cobol_$perform_list_ptr external static pointer dcl 4-36 cobol_$perform_para_index external static fixed bin(17,0) dcl 4-148 cobol_$perform_sect_index external static fixed bin(17,0) dcl 4-150 cobol_$priority_no external static fixed bin(17,0) dcl 4-140 cobol_$ptr_assumption_ind external static fixed bin(17,0) dcl 4-144 cobol_$ptr_status_ptr external static pointer dcl 4-56 cobol_$reg_assumption_ind external static fixed bin(17,0) dcl 4-146 cobol_$reg_status_ptr external static pointer dcl 4-58 cobol_$reloc_def_base_ptr external static pointer dcl 4-20 cobol_$reloc_def_max external static fixed bin(24,0) dcl 4-108 cobol_$reloc_link_base_ptr external static pointer dcl 4-22 cobol_$reloc_link_max external static fixed bin(24,0) dcl 4-110 cobol_$reloc_sym_base_ptr external static pointer dcl 4-24 cobol_$reloc_sym_max external static fixed bin(24,0) dcl 4-112 cobol_$reloc_text_base_ptr external static pointer dcl 4-18 cobol_$reloc_text_max external static fixed bin(24,0) dcl 4-106 cobol_$reloc_work_base_ptr external static pointer dcl 4-26 cobol_$reloc_work_max external static fixed bin(24,0) dcl 4-114 cobol_$reswd_ptr external static pointer dcl 4-78 cobol_$same_sort_merge_proc external static bit(1) dcl 4-214 cobol_$scratch_dir external static char(168) dcl 4-206 cobol_$sect_eop_flag external static fixed bin(17,0) dcl 4-136 cobol_$seg_init_flag external static fixed bin(17,0) dcl 4-132 cobol_$seg_init_list_ptr external static pointer dcl 4-40 cobol_$stack_off external static fixed bin(17,0) dcl 4-120 cobol_$statement_info_ptr external static pointer dcl 4-76 cobol_$sym_base_ptr external static pointer dcl 4-16 cobol_$sym_max external static fixed bin(17,0) dcl 4-104 cobol_$sym_wd_off external static fixed bin(17,0) dcl 4-102 cobol_$tag_table_max external static fixed bin(17,0) dcl 4-166 cobol_$tag_table_ptr external static pointer dcl 4-52 cobol_$temp_token_area_ptr external static pointer dcl 4-42 cobol_$temp_token_max external static fixed bin(17,0) dcl 4-168 cobol_$temp_token_ptr external static pointer dcl 4-44 cobol_$text_base_ptr external static pointer dcl 4-8 cobol_$token_block1_ptr external static pointer dcl 4-46 cobol_$token_block2_ptr external static pointer dcl 4-48 cobol_$value_cnt external static fixed bin(17,0) dcl 4-194 cobol_$ws_charcnt external static fixed bin(17,0) dcl 4-186 cobol_$ws_wdoff external static fixed bin(17,0) dcl 4-200 cobol_$xref_bypass external static bit(1) dcl 4-212 cobol_$xref_chain_ptr external static pointer dcl 4-74 cobol_$xref_token_ptr external static pointer dcl 4-72 cobol_afp defined pointer dcl 5-11 cobol_analin_fileno defined pointer dcl 5-13 cobol_cmfp defined pointer dcl 5-21 cobol_com_fileno defined pointer dcl 5-23 cobol_curr_in defined pointer dcl 5-53 cobol_curr_out defined pointer dcl 5-55 cobol_data_wd_off defined fixed bin(17,0) dcl 4-119 cobol_dfp defined pointer dcl 5-27 cobol_eltp defined pointer dcl 5-19 cobol_ext_$cobol_afp external static pointer dcl 5-10 cobol_ext_$cobol_analin_fileno external static pointer dcl 5-12 cobol_ext_$cobol_cmfp external static pointer dcl 5-20 cobol_ext_$cobol_com_fileno external static pointer dcl 5-22 cobol_ext_$cobol_curr_in external static pointer dcl 5-52 cobol_ext_$cobol_curr_out external static pointer dcl 5-54 cobol_ext_$cobol_dfp external static pointer dcl 5-26 cobol_ext_$cobol_eltp external static pointer dcl 5-18 cobol_ext_$cobol_fileno1 external static fixed bin(24,0) dcl 5-78 cobol_ext_$cobol_hfp external static pointer dcl 5-28 cobol_ext_$cobol_lpr external static char(5) packed unaligned dcl 5-95 cobol_ext_$cobol_m1fp external static pointer dcl 5-30 cobol_ext_$cobol_m2fp external static pointer dcl 5-32 cobol_ext_$cobol_min1_fileno external static pointer dcl 5-34 cobol_ext_$cobol_min2_fileno_ptr external static pointer dcl 5-36 cobol_ext_$cobol_name_fileno external static pointer dcl 5-38 cobol_ext_$cobol_name_fileno_ptr external static pointer dcl 5-40 cobol_ext_$cobol_ntfp external static pointer dcl 5-42 cobol_ext_$cobol_options external static char(120) packed unaligned dcl 5-97 cobol_ext_$cobol_options_len external static fixed bin(24,0) dcl 5-80 cobol_ext_$cobol_pdofp external static pointer dcl 5-44 cobol_ext_$cobol_pdout_fileno external static fixed bin(24,0) dcl 5-82 cobol_ext_$cobol_pfp external static pointer dcl 5-46 cobol_ext_$cobol_print_fileno external static fixed bin(24,0) dcl 5-84 cobol_ext_$cobol_rm2fp external static pointer dcl 5-48 cobol_ext_$cobol_rmin2_fileno external static fixed bin(24,0) dcl 5-86 cobol_ext_$cobol_rmin2fp external static pointer dcl 5-50 cobol_ext_$cobol_rwdd external static pointer dcl 5-72 cobol_ext_$cobol_rwpd external static pointer dcl 5-74 cobol_ext_$cobol_sfp external static pointer dcl 5-56 cobol_ext_$cobol_w1p external static pointer dcl 5-58 cobol_ext_$cobol_w2p external static pointer dcl 5-60 cobol_ext_$cobol_w3p external static pointer dcl 5-62 cobol_ext_$cobol_w5p external static pointer dcl 5-64 cobol_ext_$cobol_w6p external static pointer dcl 5-66 cobol_ext_$cobol_w7p external static pointer dcl 5-68 cobol_ext_$cobol_x1_fileno external static fixed bin(24,0) dcl 5-88 cobol_ext_$cobol_x2_fileno external static fixed bin(24,0) dcl 5-90 cobol_ext_$cobol_x3_fileno external static fixed bin(24,0) dcl 5-92 cobol_ext_$cobol_x3fp external static pointer dcl 5-70 cobol_ext_$cobol_xlast8 external static bit(1) packed unaligned dcl 5-100 cobol_ext_$report_exists external static bit(1) packed unaligned dcl 5-102 cobol_ext_$report_first_token external static pointer dcl 5-14 cobol_ext_$report_last_token external static pointer dcl 5-16 cobol_fileno1 defined fixed bin(24,0) dcl 5-79 cobol_hfp defined pointer dcl 5-29 cobol_lpr defined char(5) packed unaligned dcl 5-96 cobol_m1fp defined pointer dcl 5-31 cobol_m2fp defined pointer dcl 5-33 cobol_min1_fileno defined pointer dcl 5-35 cobol_min2_fileno_ptr defined pointer dcl 5-37 cobol_name_fileno defined pointer dcl 5-39 cobol_name_fileno_ptr defined pointer dcl 5-41 cobol_ntfp defined pointer dcl 5-43 cobol_options defined char(120) packed unaligned dcl 5-98 cobol_options_len defined fixed bin(24,0) dcl 5-81 cobol_pdofp defined pointer dcl 5-45 cobol_pdout_fileno defined fixed bin(24,0) dcl 5-83 cobol_pfp defined pointer dcl 5-47 cobol_print_fileno defined fixed bin(24,0) dcl 5-85 cobol_rm2fp defined pointer dcl 5-49 cobol_rmin2_fileno defined fixed bin(24,0) dcl 5-87 cobol_rmin2fp defined pointer dcl 5-51 cobol_rwdd defined pointer dcl 5-73 cobol_rwpd defined pointer dcl 5-75 cobol_sfp defined pointer dcl 5-57 cobol_w1p defined pointer dcl 5-59 cobol_w2p defined pointer dcl 5-61 cobol_w3p defined pointer dcl 5-63 cobol_w5p defined pointer dcl 5-65 cobol_w6p defined pointer dcl 5-67 cobol_w7p defined pointer dcl 5-69 cobol_x1_fileno defined fixed bin(24,0) dcl 5-89 cobol_x2_fileno defined fixed bin(24,0) dcl 5-91 cobol_x3_fileno defined fixed bin(24,0) dcl 5-93 cobol_x3fp defined pointer dcl 5-71 cobol_xlast8 defined bit(1) packed unaligned dcl 5-101 compile_count defined fixed bin(17,0) dcl 4-143 coms_charcnt defined fixed bin(17,0) dcl 4-189 coms_wdoff defined fixed bin(17,0) dcl 4-203 con_end_ptr defined pointer dcl 4-11 con_wd_off defined fixed bin(17,0) dcl 4-93 cons_charcnt defined fixed bin(17,0) dcl 4-193 constant_offset defined fixed bin(17,0) dcl 4-157 data_init_flag defined fixed bin(17,0) dcl 4-131 date_compiled_sw defined fixed bin(17,0) dcl 4-181 debug_enable defined fixed bin(17,0) dcl 4-175 def_base_ptr defined pointer dcl 4-13 def_max defined fixed bin(17,0) dcl 4-97 def_wd_off defined fixed bin(17,0) dcl 4-95 diag_ptr defined pointer dcl 4-71 eln_max defined fixed bin(17,0) dcl 4-173 eln_ptr defined pointer dcl 4-69 fixed builtin function dcl 1-148 fixup_max defined fixed bin(17,0) dcl 4-165 fixup_ptr defined pointer dcl 4-31 fs_charcnt defined fixed bin(17,0) dcl 4-185 fs_wdoff defined fixed bin(17,0) dcl 4-199 include_cnt defined fixed bin(17,0) dcl 4-183 include_info_ptr defined pointer dcl 4-87 index builtin function dcl 1-148 init_stack_off defined fixed bin(17,0) dcl 4-125 initval_base_ptr defined pointer dcl 4-33 initval_file_ptr defined pointer dcl 4-35 initval_flag defined fixed bin(17,0) dcl 4-179 length builtin function dcl 1-148 link_base_ptr defined pointer dcl 4-15 link_max defined fixed bin(17,0) dcl 4-101 link_wd_off defined fixed bin(17,0) dcl 4-99 list_off defined fixed bin(17,0) dcl 4-155 list_ptr defined pointer dcl 4-65 ls_charcnt defined fixed bin(17,0) dcl 4-191 main_pcs_ptr defined pointer dcl 4-85 map_data_max defined fixed bin(17,0) dcl 4-163 map_data_ptr defined pointer dcl 4-55 max_stack_off defined fixed bin(17,0) dcl 4-123 minpral5_ptr defined pointer dcl 4-51 misc_base_ptr defined pointer dcl 4-61 misc_end_ptr defined pointer dcl 4-63 misc_max defined fixed bin(17,0) dcl 4-159 mod builtin function dcl 1-148 move_type19 internal static structure level 1 unaligned dcl 1-78 next_tag defined fixed bin(17,0) dcl 4-129 non_source_offset defined fixed bin(17,0) dcl 4-177 ntbuf_ptr defined pointer dcl 4-83 obj_seg_name defined char(32) dcl 4-209 op_con_ptr defined pointer dcl 4-81 para_eop_flag defined fixed bin(17,0) dcl 4-139 pd_map_index defined fixed bin(17,0) dcl 4-117 pd_map_max defined fixed bin(17,0) dcl 4-161 pd_map_ptr defined pointer dcl 4-29 pd_map_sw defined fixed bin(17,0) dcl 4-127 perform_list_ptr defined pointer dcl 4-37 perform_para_index defined fixed bin(17,0) dcl 4-149 perform_sect_index defined fixed bin(17,0) dcl 4-151 priority_no defined fixed bin(17,0) dcl 4-141 ptr_assumption_ind defined fixed bin(17,0) dcl 4-145 ptr_status_ptr defined pointer dcl 4-57 reg_assumption_ind defined fixed bin(17,0) dcl 4-147 reg_status_ptr defined pointer dcl 4-59 rel builtin function dcl 1-148 reloc_def_base_ptr defined pointer dcl 4-21 reloc_def_max defined fixed bin(24,0) dcl 4-109 reloc_link_base_ptr defined pointer dcl 4-23 reloc_link_max defined fixed bin(24,0) dcl 4-111 reloc_sym_base_ptr defined pointer dcl 4-25 reloc_sym_max defined fixed bin(24,0) dcl 4-113 reloc_text_base_ptr defined pointer dcl 4-19 reloc_text_max defined fixed bin(24,0) dcl 4-107 reloc_work_base_ptr defined pointer dcl 4-27 reloc_work_max defined fixed bin(24,0) dcl 4-115 report_exists defined bit(1) packed unaligned dcl 5-103 report_first_token defined pointer dcl 5-15 report_last_token defined pointer dcl 5-17 reswd_ptr defined pointer dcl 4-79 same_sort_merge_proc defined bit(1) dcl 4-215 scratch_dir defined char(168) dcl 4-207 sect_eop_flag defined fixed bin(17,0) dcl 4-137 seg_init_flag defined fixed bin(17,0) dcl 4-133 seg_init_list_ptr defined pointer dcl 4-41 stack_off defined fixed bin(17,0) dcl 4-121 statement_info_ptr defined pointer dcl 4-77 string builtin function dcl 1-148 sym_base_ptr defined pointer dcl 4-17 sym_max defined fixed bin(17,0) dcl 4-105 sym_wd_off defined fixed bin(17,0) dcl 4-103 tag_table_max defined fixed bin(17,0) dcl 4-167 tag_table_ptr defined pointer dcl 4-53 temp_token_area_ptr defined pointer dcl 4-43 temp_token_max defined fixed bin(17,0) dcl 4-169 temp_token_ptr defined pointer dcl 4-45 text_base_ptr defined pointer dcl 4-9 text_wd_off defined fixed bin(17,0) dcl 4-91 token_block1_ptr defined pointer dcl 4-47 token_block2_ptr defined pointer dcl 4-49 value_cnt defined fixed bin(17,0) dcl 4-195 ws_charcnt defined fixed bin(17,0) dcl 4-187 ws_wdoff defined fixed bin(17,0) dcl 4-201 xref_bypass defined bit(1) dcl 4-213 xref_chain_ptr defined pointer dcl 4-75 xref_token_ptr defined pointer dcl 4-73 NAMES DECLARED BY EXPLICIT CONTEXT. cobol_gen_ioerror 000042 constant entry external dcl 26 finish_up 000562 constant entry external dcl 238 finish_up_not 000707 constant entry external dcl 256 perform_mode 000774 constant entry internal dcl 160 ref 93 99 105 119 125 129 133 137 perform_use 001164 constant entry internal dcl 195 ref 75 187 set_status 001275 constant entry internal dcl 213 ref 65 241 start 000047 constant label dcl 65 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 1636 2056 1432 1646 Length 2416 1432 220 324 204 156 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME cobol_gen_ioerror 156 external procedure is an external procedure. perform_mode internal procedure shares stack frame of external procedure cobol_gen_ioerror. perform_use internal procedure shares stack frame of external procedure cobol_gen_ioerror. set_status internal procedure shares stack frame of external procedure cobol_gen_ioerror. STORAGE FOR INTERNAL STATIC VARIABLES. LOC IDENTIFIER BLOCK NAME 000010 mpout cobol_gen_ioerror 000022 fkey_type9 cobol_gen_ioerror 000056 type7 cobol_gen_ioerror 000074 skey12_type9 cobol_gen_ioerror 000130 skey3_type9 cobol_gen_ioerror 000164 cmpa_dl_instr cobol_gen_ioerror STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME cobol_gen_ioerror 000100 retry_tag cobol_gen_ioerror 000101 ntag cobol_gen_ioerror 000102 mode_count cobol_gen_ioerror 000103 temp_error_exit cobol_gen_ioerror 000104 fkey_ptr cobol_gen_ioerror 000106 lda_sw cobol_gen_ioerror 000107 fsbptr_sw cobol_gen_ioerror 000110 perform_mode_sw cobol_gen_ioerror 000111 io_sw cobol_gen_ioerror 000112 new_tag cobol_gen_ioerror 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_define_tag cobol_emit cobol_gen_error cobol_gen_error$use cobol_make_tagref cobol_move_gen cobol_perform_gen cobol_read_rand cobol_reg_manager$set_pr5 cobol_set_fsbptr THE FOLLOWING EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. cobol_$next_tag cobol_$text_wd_off cobol_ext_$cobol_com_ptr LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 26 000036 65 000047 68 000063 70 000070 71 000111 73 000134 74 000135 75 000142 78 000146 79 000147 81 000156 83 000162 85 000166 87 000172 90 000176 91 000201 93 000205 99 000243 105 000305 111 000347 118 000401 119 000403 121 000413 122 000414 124 000415 125 000417 128 000437 129 000440 132 000457 133 000460 136 000477 137 000500 141 000515 143 000524 144 000531 146 000532 147 000535 148 000536 150 000544 153 000557 238 000560 241 000567 243 000603 246 000620 248 000641 250 000664 251 000676 253 000703 256 000704 260 000714 261 000717 264 000720 265 000740 268 000760 271 000770 274 000773 160 000774 165 000776 167 001001 168 001004 169 001005 171 001007 172 001016 174 001020 176 001022 177 001043 179 001045 181 001052 182 001057 183 001077 184 001120 187 001140 188 001147 189 001151 191 001163 195 001164 199 001166 202 001201 203 001207 204 001212 205 001216 206 001220 207 001230 208 001251 209 001274 213 001275 218 001277 219 001321 220 001326 221 001333 222 001337 223 001341 224 001343 225 001353 227 001361 228 001376 229 001403 230 001407 232 001417 ----------------------------------------------------------- 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