Skip to main content
Skip table of contents

Complex Split by Size

Overview

The Complex Split by Size macro processes a complex record hierarchy such that no FILE contains more than COUNT records of a given __Type. When it encounters FILE hierarchies containing more than the allowed number of __Type records, it replicates the ancestry of the records being split and generates new FILE records for them. It also replicates the records that are descendants of the replicated ancestors but not descendants of the __Type records (the "aunts and cousins").

Complex Split by Size macro configuration parameters

The Complex Split by Size macro has a single set of configuration parameters.

Parameter

Description

Record type to split on

Value of the __Type field indicating records to be counted.

  • Default: 100

Split count

Maximum number of records of specified __Type that can be included in a single file.

  • Default: 50

File pattern

Path and name of split output files. The file name is constructed using the text variables %SEQ% for sequence number and %COUNT% for record count.

  • Default: f:/temp/output_file_%SEQ%_%COUNT%.xml

Configure the Complex Split by Size macro

  1. Select the Complex Split by Size icon.

  2. Go to the Configuration tab on the Properties pane.

  3. Select Record type to split on and enter the value of the __Type field indicating records to be counted.

  4. Select Split count and enter the maximum number of records per output file.

  5. Select File pattern and edit the path and file name for the split output files. The file name will be constructed using the text variables %SEQ% for sequence number and %COUNT% for record count.

  6. Optionally, go to the Execution tab, and then set Web service options.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.