CMAR segment type format

The IMS catalog CMAR segment type contains information about a field marshaller definition in an IMS database that applies only to a specific case of a segment type format.

Each CASEFLD segment can have a CMAR child segment that contains data marshalling properties for the field.
Segment name
CMAR
Parent name
CFLD
Sequence field
MARSHSEQ
Segment length
704 bytes
Table 1. CMAR segment type format
Offset (bytes) Length (bytes) Data type Field name Description Unique key field
1 2 X LEN Length of this segment  
3 2 X CTL Control field  
5 2 X MARSHSEQ Sequence field, type = U X
  5 2 X SEQNUM Sequence number  
9 8 C OVERFLOW Reserved  
17 1 C SIGN For data with the data type of DECIMAL (data that uses either the PACKEDDECIMAL or ZONEDDECIMAL internal type converter), this field indicates if the data is a signed decimal value.  
18 6 C FILLER01 Reserved  
24 25 C ENCODING Identifies the encoding type (code page) of the data in the field identified by the parent FLD segment  
49 50 C PATTERN Identifies the pattern mask to convert the data in the field identified by the parent FLD segment into a Java™ date object  
99 30 C ITYPCONV Identifies the internal type converter for the parent FLD segment. If this field contains data, the UTYPCONV field contains blanks. The internal type converter is used to convert IMS data to a specific type of Java data object.  
129 256 C UTYPCONV Identifies the user type converter for the parent FLD segment. If this field contains data, the ITYPCONV field contains blanks.  
385 256 C URL Reserved  
641 64 C FILLER02 Reserved