1
2
3 declare log_segment_ptr pointer;
4 declare log_segment_max_size fixed bin (18);
5 declare LOG_SEGMENT_VERSION_1 char (8) internal static options (constant) init ("SysLog01");
6
7
8 declare 1 log_segment aligned based (log_segment_ptr),
9 2 header aligned like log_segment_header,
10 2 data dim (log_segment_max_size refer (log_segment.max_size)) bit (36) aligned;
11
12
13 declare 1 log_segment_header aligned based,
14 2 version char (8) unaligned,
15 2 time_created fixed bin (71),
16 2 previous_log_dir char (168) unaligned,
17
18 2 limits,
19 3 first_sequence fixed bin (35),
20 3 last_sequence fixed bin (35),
21 3 first_time fixed bin (71),
22 3 last_time fixed bin (71),
23
24 2 alloc_info,
25 3 word_1 fixed bin (18),
26 3 word_2 bit (36) aligned,
27 2 max_size fixed bin (18),
28
29 2 listeners_registered bit (1) aligned,
30 2 listener_bootload_time fixed bin (71),
31
32 2 listener (25),
33 3 process_id bit (36) aligned,
34 3 event_channel fixed bin (71) unaligned,
35
36 2 last_wakeup_time fixed bin (71),
37 2 wakeup_delta fixed bin (71),
38
39 2 pad (6) fixed bin (71);
40
41
42 declare LOG_SEGMENT_NEW_MESSAGE init ("777111555333"b3) bit (36) aligned internal static options (constant);
43 declare LOG_SEGMENT_COMPLETE_MESSAGE init ("666000444222"b3) bit (36) aligned internal static options (constant);
44
45