/* BEGIN INCLUDE FILE gtss_file_values.incl.pl1 */ /* Created: (Wardd Multics) 09/01/78 1447.1 mst Fri */ /** The gtss_file_values structure provides parameters to the gtss_attributes_mgr_ subroutine. The caller must provide space for this structure, fill in the version with 1, the dname and ename with the file directory and entry name, and for calls to gtss_attributes_mgr_$set, fill in values to be reset and set the corresponding set_switch to "1"b. If the (Multics) file located is a directory a GCOS catalog is implied. If both ename and new_ename are set but no set_switch is "1"b (and the set entry is called) this implies that the existing attribute values are being renamed to the new entry. Then: call gtss_attributes_mgr_$set(addr(gtss_file_values),code); Use of ename/new_ename combinations for set entry. -|-----------|-----------|-|-----------------| | ename |new_ename || meaning | =|===========|===========|=|=================| | blanks | blanks || illegal | -|-----------|-----------|-|-----------------| | blanks |not blanks|| initial | | | || setting | -|-----------|-----------|-|-----------------| |not blanks| blanks || check enames's | | | ||attribute values| | | || and reset. | -|-----------|-----------|-|-----------------| |not blanks|not blanks|| delete ename's | | | || values and put | | | || on values for | | | || new_ename's | -|-----------|-----------|-|-----------------| **/ dcl attr_name (0:7)char(4)static int options(constant)init( /* 0 */ "mode" , /* 1 */ "maxl" , /* 2 */ "curl" , /* 3 */ "busy" , /* 4 */ "attr" , /* 5 */ "null" , /* 6 */ "noal" , /* 7 */ "crdt" ); dcl 1 gtss_file_values aligned automatic , 3 version fixed bin(17) /* Current version is 1. (OUT) */ , 3 dname char(168)unal /* Directory name. (IN) */ , 3 ename char(032)unal /* Entry name. (IN) */ , 3 new_ename char(032)unal /* New entry name. (IN) */ , 3 change_name bit(1) /* "1"b => Change segment name. (IN) */ , 3 catalog bit(1) /* "1"b => File is a catalog (Multics directory). (OUT) */ , 3 info_ptr ptr /* hcs_$status_long (4. entry_ptr) info structure address. (OUT) */ , 3 set_switch /* "1"b => Set corresponding value. (IN) */ , 4 mode_random bit(01)unal /* 0. Set the random/sequential(linked) field. */ , 4 maxll bit(01)unal /* 1. Set max size value. */ , 4 curll bit(01)unal /* 2. Set current size value. */ , 4 busy bit(01)unal /* 3. Set file as busy. */ , 4 attr bit(01)unal /* 4. Set user attributes value. */ , 4 null_file bit(01)unal /* 5. Set null file value. */ , 4 number_allocations bit(01)unal /* 6. Set or increment number of uses. */ , 4 creation_date bit(01)unal /* 7. Set file creation date. */ , 4 not_in_use bit(28)unal /* The above set_ variables should be declared in an order corresponding to the value in the attr_name array. */ , 3 data_flags /* (OUT|IN) */ , 4 mode_random bit(01)unal /* "1"b => random. */ , 4 busy bit(01)unal /* "1"b => file is busy. */ , 4 null_file bit(01)unal /* "1"b => file is null. */ , 4 not_in_use2 bit(33)unal , 3 data_fields /* (OUT|IN) */ , 4 curll fixed bin(35) /* Current length in llinks (>=0). */ , 4 maxll fixed bin(35) /* Maximum length in llinks (>=0). */ , 4 number_allocations fixed bin(35) /* 0 => set | >0 => increment modulo 262144. */ , 3 attributes /* (OUT|IN) */ , 4 not_in_use3 bit(01)unal , 4 attr bit(35)unal /* User specified file attribute value. */ , 3 creation_date char(06) /* MMDDYY of creation. */ ; /* END INCLUDE FILE gtss_file_values.incl.pl1 */ */ ----------------------------------------------------------- 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 */