DFSMARSH statement overview
The DFSMARSH statement defines marshalling attributes for field data.
You can use the DFSMARSH statement to specify the following data marshalling attributes for the data contained in a field:
- You can specify the code page or character encoding that defines the character data in a field on the ENCODING parameter. The default is the EBCDIC code page Cp1047.
- You can specify a data-conversion routine for IMS™ to use when converting field data from the data type that IMS uses to physically store data to a data type expected by an application program. You can specify an IMS-provided routine on the INTERNALTYPECONVERTER parameter or a user-provided routine on the USERTYPECONVERTER parameter.
- You can specify whether a decimal data type is signed or not on the ISSIGNED parameter.
- The pattern to use for dates and times can be specified on the PATTERN parameter.
- You can specify the properties that are used by a user-provided data-conversion routine on the PROPERTIES parameter.
In the input to the DBD Generation utility, the DFSMARSH statement must immediately follow the FIELD statement to which it applies.