1 /* BEGIN include file mseg_hdr_v3.incl.pl1 */
 2 
 3 dcl  mptr ptr,                                              /* pointer to message segment */
 4 
 5      1 mseg_hdr aligned based (mptr),                       /* message segment header format */
 6      2 lock bit (36) aligned,                               /* standard file system lock */
 7      2 mseg_pattern bit (36) aligned,                       /* to identify message segments */
 8      2 hdr_ms_access_class bit (72) aligned,                /* access class of header message */
 9      2 pad (4) fixed bin,
10      2 first_ms_offset bit (18) aligned,                    /* offset to first logical message */
11      2 last_ms_offset bit (18) aligned,                     /* offset to last logical message */
12      2 alloc_len fixed bin,                                 /* length of allocation bit string */
13      2 space_left fixed bin,                                /* number of empty blocks */
14      2 number_of_messages fixed bin,                        /* number of messages in segment */
15      2 block_size fixed bin,                                /* message block size */
16      2 switches,
17      3 mip bit (1) unaligned,                               /* ON if modification is in progress */
18      3 os bit (1) unaligned,                                /* ON if message segment was salvaged */
19      3 ms_in_hdr bit (1) unaligned,                         /* ON if there is a message in the header */
20      3 sip bit (1) unaligned,                               /* ON if salvage is in progress */
21      3 pad2 bit (32) unaligned,
22      2 version_number fixed bin,
23      2 hdr_ms bit (64 * 36) aligned,                        /* space for header message */
24      2 hash_table aligned,                                  /* message ID hash table */
25      3 last_in_bucket (0:511) bit (18) unaligned,           /* offset of last message in this hash table bucket */
26      2 alloc_bits bit (alloc_len) aligned;                  /* allocation bit string */
27 
28 dcl (version_number fixed bin init (3),                     /* message segment version number */
29      header_pattern bit (36) aligned init ((18) "01"b))     /* header identification pattern */
30      internal static;
31 
32 /* END include file mseg_hdr_v3.incl.pl1 */