COMPILATION LISTING OF SEGMENT rs_open_seq_out_ Compiled by: Multics PL/I Compiler, Release 29, of July 28, 1986 Compiled at: Honeywell Bull, Phx, AZ, Sys-M Compiled on: 09/10/87 1451.6 mst Thu Options: optimize list 1 /* *********************************************************** 2* * * 3* * Copyright, (C) Honeywell Information Systems Inc., 1982 * 4* * * 5* * Copyright (c) 1972 by Massachusetts Institute of * 6* * Technology and Honeywell Information Systems, Inc. * 7* * * 8* *********************************************************** */ 9 10 11 /* record_stream_ program for handling sequential output openings */ 12 rs_open_seq_out_: 13 proc (iocb_ptr_arg); 14 iocb_ptr = iocb_ptr_arg; 15 /* set iocb entries for valid operations in this mode and return */ 16 write_record = write_record_rs; 17 return; /* end of opening routine */ 18 19 write_record_rs: 20 entry (iocb_ptr_arg, buff_ptr, buff_len, code); 21 iocb_ptr = iocb_ptr_arg -> actual_iocb_ptr; 22 rsab_ptr = attach_data_ptr; 23 call iox_$put_chars (target_iocb_ptr, buff_ptr, buff_len, code); 24 if length_n = 0 /* then append newline character */ 25 then call iox_$put_chars (target_iocb_ptr, addr (newline), 1, code); 26 return; /* end of sequential write routine */ 27 28 /* declarations for entire program */ 29 dcl (iocb_ptr_arg, iocb_ptr) 30 ptr; 31 dcl code fixed bin (35); 1 1 /* BEGIN: rs_attach_block.incl.pl1 * * * * * */ 1 2 1 3 1 4 /****^ HISTORY COMMENTS: 1 5* 1) change(75-02-13,Asherman), approve(), audit(), install(): 1 6* Initial coding. 1 7* 2) change(87-08-30,GWMay), approve(87-08-30,MCR7730), audit(87-09-10,GDixon), 1 8* install(87-09-10,MR12.1-1104): 1 9* Changed target_name to be unaligned. 1 10* END HISTORY COMMENTS */ 1 11 1 12 1 13 dcl rsab_ptr ptr; 1 14 dcl 1 rs_attach_block based (rsab_ptr) aligned, 1 15 /* record_stream_ attach block */ 1 16 /* the following are set during attachment */ 1 17 2 attach_descrip, 1 18 3 attach_descrip_len 1 19 fixed (35), 1 20 3 attach_descrip_string 1 21 char (66), /* "record_stream_