CIB merge technical documentation (EN)

6. Call parameters in detail

6.50. Parameter --multidatafile

[--meta/--metadatafile/--multi/-c]

If a multi-controller file/multi-CSV file is used as data source, the parameter --multidatafile must be set additionally. 


Syntax
--multidatafile

Description

The parameter --multidatafile indicates that the data file specified with the parameter --datafile contains further data files.


Example

  • Parameter file with multi control files from multi-CSV files

--datafile=multi.csv
--multidatafile

The parameter --datafile defines a multi-CSV file. The aliases are defined in the first line of the CSV file, all other lines are the alias definitions.

The usage of the parameter in connection with CSV files is demonstrated in the use case example Serial Letter.

Note:

When using multi-CSV files, the --headerfile parameter is not used.


  • Parameter file with multi control files from two separated CSV files

--datafile=Daten.csv
--multidatafile
--headerfile=Alias.csv

Alias CSV file:

Address;License information

Data CSV file:

Adress.csv;LicenseInfo.csv

 

Note:

In this example, the alias names and alias definitions are stored separately in two CSV files. To specify the CSV file for the alias names, the --headerfile parameter is used. The alias definitions are located in the CSV file which is set with the parameter --datafile. Each line represents a new definition (data set).


  • Parameter file with multi control files from XML file

--headerfile=XML:Daten_mitAlias.xml
--datafile=/root/multi
--multidatafile

The --headerfile parameter defines the XML file. The aliases result from the node names in the XML file, which are defined with the specified XPath. The alias definitions are the node contents.

The usage of the parameter in connection with XML files is demonstrated in the use case example Serial Letter.