Text Transform utility

This utility transforms data between a character-delimited variable format and an XML format. Note that there is also an administrative tool that you can use to transform between character-delimited and XML format, Transforming data using the Text Transformation tool.

This diagram shows the syntax for the txttransform utility. On Unix and iSeries the utility is txttransform.sh on Windows the utility is txttransform.cmd. The parameters and values are described in the list entitled Parameter values.

Notes:

  1. Run the txttransform utility. For information about configuring the Loader package refer to the topic, Configuring Loader package utilities.
  2. Filenames specified as parameters for this utility can be preceded by relative or absolute paths.

Parameter values

The following values are specified and separated by commas in a parameter file (parameter.txt):

-input file
Name of the file to be transformed
-schema file
Name of the XML schema file to be used in the transformation
-output file
Name for the output file in which the transformed data will be stored
-transformation method
Method to be used in adding the data to the output file. Specify Create if a new file is to be created; or specify Append if the output data is to be appended to an existing data file.

Feedback