Service Development Help : Working with Flat Files : Defining Flat File Elements : Adding a Composite Definition
Adding a Composite Definition
To add composite definition
1. In Package Navigator view, double-click the flat file schema or flat file dictionary to which you want to add a composite definition. The schema or dictionary opens in the appropriate editor window.
2. In the Flat File Structure tab of the flat file schema editor, or in the flat file dictionary editor, select a record definition or composite definition and click in the editor toolbar. (You can also right-click the element and select New.)
3. Select Composite Definition and click Next.
4. Under Enter Composite Definition Information, specify the following:
Property
Description
Name
Name for the composite definition.
Position
Field number in the record that contains the composite you want to extract. This pulls the subfield data from the composite. If you leave this property empty, the composite will not be extracted.
Mandatory
Optional. Select the check box to require that this composite appear in the flat file. If it is not selected, the composite is not required to appear in the flat file. If it is selected and the convertToValues service validate variable is set to true, errors will be generated if the composite does not appear in the flat file.
5. To add additional composite definitions at this level, click .
6. Click Finish to save the element definition.
Copyright © 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback