ItemExclusionArray

Use this element as the container for preventing individual data items in the COBOL structure from becoming elements in the XML message.

ItemExclusionArray provides an inverse capability to the capability of ItemSelectionArray. Therefore ItemExclusionArray and ItemSelectionArray cannot both be specified at the same time for the same message specification. If you use ServiceSpecification.xsd to validate your settings, your settings will not validate correctly if you specify both ItemExclusionArray and ItemSelectionArray. If you do not use validation and you specify both ItemExclusionArray and ItemSelectionArray in your settings you will receive an error message during the execution of the Batch processor. If the this element is not specified the element selection and inclusion applies based on rules listed in ItemSelectionArray.

Contained by

Contains

ItemExclude

Attributes

None

Example

For the following COBOL language structure


1 CBL-STRUCT-AAA.
  2 CBL-STRUCT-BBB.
    3 CBL-FLD-CCC PIC X(10).
    3 CBL-FLD-DDD PIC X(2).
    3 CBL-FLD-EEE PIC 9.

you can use the following settings to prevent the last two data items from becoming elements in the generated XML message:


  <ItemExclusionArray>
      <ItemExclude itemName="CBL-FLD-DDD"/>
      <ItemExclude itemName="CBL-FLD-EEE"/>
  </ItemInclusionArray>