1
2
3
4
5
6
7
8
9
10
11
12
13
14 dcl 1 tape_archive_table aligned based (table_ptr),
15 2 nonvolatile_part aligned,
16 3 version_number fixed bin,
17 3 magic_constant char (8),
18 3 compaction_warning_threshold float bin,
19 3 auto_compaction_threshold float bin,
20 3 table_is_consistent bit (1) unaligned,
21 3 lock bit (36),
22 3 lock_reason fixed bin,
23 3 locker_id char (32),
24 3 io_module_name char (32),
25 3 recovery_info_offset bit (18) aligned,
26 3 perm_table_uid bit (36),
27 3 future_expansion (6) bit (36),
28 2 volatile_part aligned,
29 3 n_components fixed bin,
30 3 n_component_slots fixed bin,
31 3 n_queued_requests fixed bin,
32 3 n_request_slots fixed bin,
33 3 next_mount_type fixed bin,
34 3 date_time_tape_modified bit (36),
35 3 date_time_last_compacted bit (36),
36 3 total_records fixed bin (35),
37 3 dead_records fixed bin (35),
38 3 incomplete_write_op_last bit (1),
39 3 last_tape_file_no fixed bin,
40 3 last_table_no fixed bin,
41 3 mount_lock bit (36) aligned,
42 3 highest_mount_type fixed bin,
43 3 future_expansion (6) bit (36),
44 3 tape_info aligned,
45 4 density (2) fixed bin (17) unal,
46 4 active_set fixed bin,
47 4 n_volumes_in_set (2) fixed bin,
48 4 volume_set (2) aligned,
49 5 volume_id (8) char (168),
50 3 component_table (0 refer (tape_archive_table.n_component_slots)) aligned like component,
51 3 request_queue (0 refer (tape_archive_table.n_request_slots)) aligned like request;
52
53 dcl 1 component aligned based (component_ptr),
54 2 entry_status_descriptor like entry_status_descriptor aligned,
55 2 previous_instance_backchain fixed bin,
56 2 associated_request_index fixed bin,
57 2 date_time_deleted bit (36) aligned,
58 2 future_expansion (5) bit (36) aligned;
59
60 dcl 1 request aligned based (request_ptr),
61 2 entry_status_descriptor like entry_status_descriptor aligned,
62 2 directory_name char (168) unaligned,
63 2 requested_ops unaligned,
64 3 append bit (1) unaligned,
65 3 replace bit (1) unaligned,
66 3 extract bit (1) unaligned,
67 3 delete bit (1) unaligned,
68 3 force bit (1) unaligned,
69 3 single_name bit (1) unaligned,
70 3 future_expansion bit (30) unaligned,
71 2 existing_reference fixed bin,
72 2 future_expansion (4) bit (36) aligned;
73
74 dcl 1 entry_status_descriptor aligned based,
75 2 valid bit (1) unaligned,
76 2 no_final_newline bit (1) unaligned,
77 2 safety_switch bit (1) unaligned,
78 2 pad bit (33) unaligned,
79 2 file_info aligned,
80 3 tape_file_name char (17),
81 3 entry_name char (32) unaligned,
82 3 date_time_archived bit (36),
83 3 recording_mode char (8) aligned,
84 3 date_time_branch_modified bit (36),
85 3 date_time_dumped bit (36),
86 3 bitcount_author char (32),
87 3 file_length fixed bin (35),
88 3 attribute_file_no fixed bin,
89 3 n_tape_records fixed bin (35),
90 2 uid bit (36) aligned,
91 2 future_expansion bit (36) aligned;
92
93 dcl 1 workspace based (workspace_ptr) aligned,
94 2 workspace_id char (8),
95 2 component_no fixed bin,
96 2 request_no fixed bin,
97 2 n_queued_requests fixed bin,
98 2 dead_records fixed bin,
99 2 total_records fixed bin,
100 2 n_components fixed bin,
101 2 n_request_slots fixed bin,
102 2 next_mount_type fixed bin,
103 2 future_expansion (70) fixed bin (35),
104 2 tape_info_copy aligned like tape_archive_table.tape_info,
105 2 future_expansion2 (16) fixed bin (35),
106 2 component_copy like component aligned,
107 2 future_expansion3 (16) fixed bin (35),
108 2 request_copy like request aligned;
109
110 dcl 1 based_tape_info based (tape_info_ptr) like tape_archive_table.tape_info aligned;
111
112 dcl (table_ptr, component_ptr, request_ptr, workspace_ptr, tape_info_ptr) pointer;
113
114 dcl ((None initial (0),
115 Delete initial (1),
116 Read initial (2),
117 Write initial (3),
118 Compact initial (4),
119
120 Examine initial (1),
121 Modify initial (2),
122 Process_tape initial (3),
123
124 Deletion initial (1),
125 Extraction initial (2),
126 Replacement initial (3),
127 Cancellation initial (4),
128 Deletion_cancellation initial (5),
129 Volume_alteration initial (6),
130 Table_creation initial (7),
131 Table_copy initial (8),
132
133 Default_density initial (1600),
134
135 tape_archive_version_4 initial (4)) fixed bin,
136
137 TAPE_ARCHIVE_IO_MODULE char(6) init("mtape_"),
138
139 Lock_reasons (0:3) char (24) initial
140 ("no discernable reason", "table examination", "table modification", "tape processing"),
141
142 Magic_constant char (8) initial ("ta table"),
143 Magic_workspace_constant char (8) initial ("wrkspace")) static options (constant);
144
145