Skip to Content

CSV Splitter 2

Introduction

The CSV Splitter 2 plugin splits based on a specified size. Filenames are based on a base name: base_file_name_00001.csv, base_file_name_00002.csv, etc.

This plugin can be associated only with Private Agent Groups and is not available on the Jitterbit Cloud Agent Groups.

Important

Plugins provided by Jitterbit are deprecated. See Deprecation and Support in Plugins.

Download and Add the Plugin

The CSV Splitter 2 plugin must be downloaded at the link provided below and added to the organization (see Add New Plugins in Customizations > Plug-ins).

Associate the Plugin with an Agent Group

The CSV Splitter 2 plugin must be associated with a Private Agent Group to make the plugin available on all agents in the group (see Associate Agent Groups in Customizations > Plug-ins).

Set Variables and Use the Plugin in a Project

Refer to these topics for information about using plugins in a project:

The CSV Splitter 2 plugin uses these variables:

Name Type Required Description
CSVSplitter2.input_file_name String Optional The absolute path of the input filename.
CSVSplitter2.base_output_file_name String Optional The name used to construct the filename for the split files. The value must include the absolute path of the output directory with the directory separator.
base_file_name_00001.csv
base_file_name_00002.csv
base_file_name_00003.csv
CSVSplitter2.chunk_file_size Integer Optional The limit of file size for each chunk file, if it is set >0. You must set at least one limit for chunk condition.
CSVSplitter2.chunk_record_size Integer Optional The limit of number of records, if it is set >0.
CSVSplitter2.infile_has_header Boolean Optional A flag to show if the input file contains a header line. If this flag is false, then the CSVSplitter2.CSVSplitter2.header_line variable must be defined.
CSVSplitter2.CSVSplitter2.header_line String Optional The header pre-appended to each chunk. The value should not contain the end-of-line or carriage return.