The XML control files for sequential, VSAM, and IMS data maps have hierarchies that allow certain elements at specific points.
Each control file includes the following elements:
DatamapGeneration root element. Required.
imsGen, seqGen, or vsamGen element that is a child of the DatamapGeneration element. Required.
Global elements that apply to all data maps that the control file defines. These global elements are children of the imsGen, seqGen, or vsamGen element. Optional.
DatamapInstances element. This element is a child of the imsGen, seqGen, or vsamGen element. Required.
One imsDatamapInstance, seqDatamapInstance, or vsamDatamapInstance element for each data map that the control file defines. These elements are children of the DatamapInstances element. At least one element instance is required.
For each data map, the imsDatamapInstance, seqDatamapInstance, or vsamDatamapInstance element inherits and optionally overrides the global settings.
The following control file hierarchies do not show the required syntax, whether the element is required or optional, the number of times the element can occur, or whether a choice of only one of multiple elements can appear. For this information, see
Schema File Reference or see the DatamapGeneration.xsd schema file.