COMPILATION LISTING OF SEGMENT gfms_date_ Compiled by: Multics PL/I Compiler, Release 28d, of October 4, 1983 Compiled at: Honeywell Multics Op. - System M Compiled on: 12/10/84 1203.8 mst Mon Options: optimize map 1 /* *********************************************************** 2* * * 3* * Copyright, (C) Honeywell Information Systems Inc., 1982 * 4* * * 5* *********************************************************** */ 6 gfms_date_: proc (bcd_date)returns (char (8)); 7 8 /* Return date MM/DD/YY from input of 6 bcd 9* characters (36 bits) MMDDYY. 10* 11* Author: Dave Ward 10/04/80 12* Change: Dave Ward 02/04/81 recoded using r array. 13**/ 14 dcl bcd_date bit(36)aligned parm; 15 r (1) = a (c (1)); r (2) = a (c (2)); /* Month MM. */ 16 r (3) = "/"; 17 r (4) = a (c (3)); r (5) = a (c (4)); /* Day DD. */ 18 r (6) = "/"; 19 r (7) = a (c (5)); r (8) = a (c (6)); /* Year YY. */ 20 return (string (r)); 21 22 /* Variables for gfms_date_: */ 23 /* IDENTIFIER ATTRIBUTES */ 24 dcl c (6)fixed bin(6)unsigned unal based(addr(bcd_date)); 25 dcl r (8)char(1); 26 27 dcl a (0:63)char(1)static int options(constant)init( 28 "0" 29 , "1" 30 , "2" 31 , "3" 32 , "4" 33 , "5" 34 , "6" 35 , "7" 36 , "8" 37 , "9" 38 , (54)(1)"#" 39 ); 40 1 1 /* BEGIN INCLUDE FILE gfms_ext.incl.pl1 (Wardd Multics) 10/07/80 2142.2 mst Tue */ 1 2 /* Modified by: S. C. Akers 02/08/82 Add gfms_ext$working_dir, 1 3* mapping_rule, 1 4* umc_name 1 5* Modified Ron Barstad 83-06-03 attach_desc from 40 to 80 char 1 6**/ 1 7 1 8 dcl 1 gfms_ext$print_routines aligned ext 1 9 , 3 ioa entry variable options(variable) 1 10 , 3 ioa_nnl entry variable options(variable) 1 11 ; 1 12 1 13 dcl 1 gfms_ext$temp_segs aligned ext 1 14 , 3 dtp ptr 1 15 , 3 nlp ptr 1 16 , 3 inp ptr 1 17 ; 1 18 1 19 dcl 1 gfms_ext$tape_file aligned ext 1 20 , 3 cbp ptr 1 21 , 3 attach_description char(80)unal 1 22 , 3 density 1 23 , 4 ftd fixed bin /* First tape density to attempt. */ 1 24 , 4 ltd fixed bin /* Last tape density to attempt. */ 1 25 , 3 tape_reel_information 1 26 , 4 reel_serial_num char(6) 1 27 , 4 file_serial_num char(6) 1 28 , 4 reel_sequence_num char(6) 1 29 ; 1 30 1 31 dcl 1 gfms_ext$options aligned ext 1 32 , 3 close bit(1)unal /* perform iox close. */ 1 33 , 3 detach bit(1)unal /* perform iox detach. */ 1 34 , 3 dump bit(1)unal /* dump tape records/information. */ 1 35 , 3 gf bit(1)unal /* provide gtss file attributes. */ 1 36 , 3 prfn bit(1)unal /* print file names. */ 1 37 , 3 scan_ss bit(1)unal /* scan substructure, display, quit. */ 1 38 , 3 tll bit(1)unal /* print totals of llinks. */ 1 39 , 3 unload bit(1)unal /* unload files. */ 1 40 , 3 NOT_IN_USE bit(28)unal 1 41 ; 1 42 1 43 dcl gfms_ext$working_dir char (168) var ext static; /* Where to restore the files. 1 44* It may be the user's working 1 45* directory, or the UMC or SMC directory. */ 1 46 1 47 dcl gfms_ext$mapping_rule char(3) external static; 1 48 1 49 dcl gfms_ext$umc_name char(12) external static; 1 50 1 51 /* END INCLUDE FILE gfms_ext.incl.pl1 */ 41 42 end gfms_date_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 12/10/84 1041.8 gfms_date_.pl1 >spec>on>7105>gfms_date_.pl1 41 1 10/24/83 1642.4 gfms_ext.incl.pl1 >ldd>include>gfms_ext.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. a 000000 constant char(1) initial array unaligned dcl 27 ref 15 15 17 17 19 19 bcd_date parameter bit(36) dcl 14 set ref 6 15 15 17 17 19 19 c based fixed bin(6,0) array unsigned unaligned dcl 24 ref 15 15 17 17 19 19 r 000100 automatic char(1) array unaligned dcl 25 set ref 15* 15* 16* 17* 17* 18* 19* 19* 20 NAMES DECLARED BY DECLARE STATEMENT AND NEVER REFERENCED. gfms_ext$mapping_rule external static char(3) unaligned dcl 1-47 gfms_ext$options external static structure level 1 dcl 1-31 gfms_ext$print_routines external static structure level 1 dcl 1-8 gfms_ext$tape_file external static structure level 1 dcl 1-19 gfms_ext$temp_segs external static structure level 1 dcl 1-13 gfms_ext$umc_name external static char(12) unaligned dcl 1-49 gfms_ext$working_dir external static varying char(168) dcl 1-43 NAME DECLARED BY EXPLICIT CONTEXT. gfms_date_ 000026 constant entry external dcl 6 NAMES DECLARED BY CONTEXT OR IMPLICATION. addr builtin function ref 15 15 17 17 19 19 string builtin function ref 20 STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 134 144 107 144 Length 320 107 10 140 24 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME gfms_date_ 67 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME gfms_date_ 000100 r gfms_date_ THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. return ext_entry NO EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. NO EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 6 000022 15 000033 15 000041 16 000047 17 000051 17 000057 18 000065 19 000067 19 000075 20 000102 ----------------------------------------------------------- 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