Configuring Output Parameters
This section describes the Output Configuration parameters and covers the following topics:
Output Configuration Overview
The output configuration is a section in migration.properties/masking.properties/detokenization.properties
file. It contains all the necessary information required for creation of output data file/inserting values in the destination database table. For example, the output data file name and path or the destination database details is passed to Bulk Utility as the parameter in output configuration section of properties file. The configuration section must contain the correct information, in the correct order.
The Output.Sequence
parameter in the migration.properties/masking.properties/detokenization.properties
file specifies the sequence, of the input columns and tokenized columns, in which they are written to the output file. If a column of input file has to appear in the output file, then its column index needs to be specified in the output sequence. The sequence number can either be positive or negative.
Positive sequence number indicates that the decrypted and/or tokenized value for a column is written to the output file, if the column was decrypted and/or tokenized. While negative sequence number indicates that the original value for a column, from the input file is written to the output file. For any columns that are not decrypted and/or tokenized, the specified sequence number has the same effect.
The source and destination database should have same schema and the sequence of columns should be same with respect to database and file.
Note
Constraints of the destination database that may prevent insertion of plain/tokenized should be dropped before running the Bulk Utility.
Below is a sample of the Output Configuration section of migration.properties
file:
Below is a sample of the Output Configuration section of masking.properties
file (for DB-to-DB tokenization):
Output Data File
The output data file format (for File-to-File tokenization) is same for both type of input configuration file formats: Delimited and Positional.
The following example shows an output data file:
Sample Output Data File for File-to-File Tokenization
The columns in output file are comma separated.
Sample Destination Database Table for DB-to-DB Tokenization