Alternative field maps for a segment
You can define maps and map cases to act as alternative groupings of the fields within a segment by using the Add or Edit Segment Maps wizard. A map defines a control field and acts as a container for map cases. In an instance of a segment, the value of the control field is used at run time to determine which map case is used.
Each segment map in a segment is defined by editing either Segment Maps or Map Cases. All of the map cases that are controlled by the same control field reference a common map. The map specifies the control field that contains the ID of the map case to be used in a particular segment instance.
Once the map and map cases are defined you can use the Import Data Structure wizard or the Add or Edit Fields wizard to add fields to your map cases.
Defining maps and cases through the Add or Edit Segment Maps wizard creates DFSMAP and DFSCASE statements and adds them to the generated IMS™ catalog-enabled DBD source files within IMS Explorer.