1 /* BEGIN include file mseg_hdr_v2.incl.pl1 */ 2 3 dcl mptr ptr, /* pointer to message segment */ 4 5 1 mseg_hdr_v2 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 pad (6) fixed bin, 9 2 first_ms_offset bit (18) aligned, /* offset to first logical message */ 10 2 last_ms_offset bit (18) aligned, /* offset to last logical message */ 11 2 alloc_len fixed bin, /* length of allocation bit string */ 12 2 space_left fixed bin, /* number of empty blocks */ 13 2 number_of_messages fixed bin, /* number of messages in segment */ 14 2 block_size fixed bin, /* message block size */ 15 2 switches, 16 3 aip bit (1) unaligned, /* ON if allocation is in progress */ 17 3 os bit (1) unaligned, /* ON if message segment was salvaged */ 18 3 ms_in_hdr bit (1) unaligned, /* ON if there is a message in the header */ 19 3 pad2 bit (30) unaligned, 20 2 version_number fixed bin, 21 2 hdr_ms_len fixed bin, /* length of header message, if any */ 22 2 hdr_ms, /* space for header message */ 23 3 filler (126) fixed bin, 24 3 hdr_ms_end fixed bin, 25 2 alloc_bits bit (alloc_len) aligned; /* allocation bit string */ 26 27 /* END include file mseg_hdr_v2.incl.pl1 */