Table of Contents

Search

  1. Preface
  2. Fast Clone Overview
  3. Configuring and Using the Fast Clone Server
  4. Creating Cloning Configuration Files in the Fast Clone Console
  5. Unloading Data from the Source Database
  6. Loading Data to a Target
  7. Remote Configuration Management
  8. Fast Clone Command Line Interface
  9. Troubleshooting
  10. Fast Clone Configuration File Parameters
  11. Glossary

User Guide

User Guide

Generating the Data Files in XML Format

Generating the Data Files in XML Format

If you run the unload job from the Fast Clone Console, you can optionally generate the data files in XML format based on the regular ASCII data files. You can then use the XML files with third-party software.
  1. Open the
    FastClone_installation
    /uiconf/default.cfg file in a text editor and set the
    generate_xml_metadata
    parameter to true.
    This parameter indicates whether Fast Clone creates metadata files in the _xml subdirectory of the output directory when you run a data unload job.
  2. Restart the Fast Clone Console for this setting to take effect.
  3. Open the configuration file for which to run the data unload job and save it again in the Fast Clone Console.
  4. Run the data unload job.
    Fast Clone generates the
    table_name
    .columns file for each unloaded table in the _xml subdirectory of the output directory. These files include table metadata for generating XML data files.
  5. Generate the XML data files based on the generated metadata files and the regular data files in one of the following ways:
    • From the command prompt on Windows, run the xmlconvert.cmd script. From the command line on Linux or UNIX, run the xmlconvert.sh script.
    • From the Fast Clone Console, click
      Data
      Convert to XML
      on the menu bar, or click the
      Convert CSV output into XML format
      button on the toolbar.
    Fast Clone generates the XML data files in the _xml subdirectory for each unloaded table.
    If the operation ends with an error, view the informaticaFastClone_mngr.log file that Fast Clone generates in the installation directory to diagnose the problem. The following table describes return codes for the script that generates the XML data files:
    Error Code
    Description
    0
    Fast Clone successfully generated the XML data files.
    1
    Fast Clone encountered an internal error when generating the XML data files.
    2
    Fast Clone did not find the output directory.
    3
    Fast Clone did not find the output data files for which to generate XML data files.
    4
    Fast Clone did not find the _xml subdirectory in the output directory.
    5
    Fast Clone could not create an XML file.
    6
    Fast Clone did not find the metadata files in the _xml subdirectory.
    7
    Fast Clone could not open the configuration file.

0 COMMENTS

We’d like to hear from you!