1 /* BEGIN INCLUDE FILE dm_cm_datum_constants.incl.pl1 */ 2 3 /* DESCRIPTION: 4 Contains constants describing the extents of datums and datum 5 headers. The datum headers are described in dm_cm_datum.incl.pl1. 6 MAXIMUM_DATUM_CONTENTS_LENGTH_IN_BYTES is the byte length of the largest 7 datum that can be stored in a control interval, allowing for the largest 8 possibledatum header. MAXIMUM_DATUM_CONTENTS_LENGTH_IN_BITS is the same 9 in bits instead of bytes. MINIMUM_MAXIMUM_DATUM_CONTENTS_LENGTH_IN_BITS 10 is the smallest length in bits which requires 11 MAXIMUM_DATUM_CONTENTS_LENGTH_IN_BYTES bytes to store. 12 */ 13 14 /* 15 HISTORY: 16 Written by Matthew Pierret, 02/07/82. 17 Modified: 18 10/29/82 by Matthew Pierret: Removed DATUM_HEADER*. 19 11/02/82 by Matthew Pierret: Added maximum datum contents lengths. 20 12/01/82 by Lindsey Spratt: Corrected values for datum header lengths. 21 09/18/84 by Matthew Pierret: Corrected values for maximum lengths. Added 22 MINIMUM_MAXIMUM_DATUM_CONTENTS_LENGTH_IN_BITS. Added 23 DESCRIPTION section. 24 */ 25 26 /* format: style2,ind3,ll79 */ 27 dcl CD_DATUM_HEADER_LENGTH_IN_BYTES 28 fixed bin init (8) internal static 29 options (constant); 30 31 dcl CD_DATUM_HEADER_LENGTH_IN_BITS 32 fixed bin init (72) internal static 33 options (constant); 34 35 dcl CDCN_DATUM_HEADER_LENGTH_IN_BYTES 36 init (4) fixed bin int static 37 options (constant); 38 39 dcl CDCN_DATUM_HEADER_LENGTH_IN_BITS 40 init (36) fixed bin int static 41 options (constant); 42 43 dcl MAXIMUM_DATUM_CONTENTS_LENGTH_IN_BITS 44 init (36360) fixed bin (35) internal 45 static options (constant); 46 47 dcl MAXIMUM_DATUM_CONTENTS_LENGTH_IN_BYTES 48 init (4040) fixed bin (35) internal 49 static options (constant); 50 51 dcl MINIMUM_MAXIMUM_DATUM_CONTENTS_LENGTH_IN_BITS 52 init (36352) fixed bin (35) internal 53 static options (constant); 54 55 /* END INCLUDE FILE dm_cm_datum.incl.pl1 */