Skip to main content

Exporting Legacy Metadata

Analyzer expects all the legacy code to be exported into a folder accessible by it.
For SQL code exporting, most times a database export can be used to export object definitions (tables, views procedures, functions etc...) in bulk. Ideally, each SQL file should contain a single artifact.
All the major ETL platforms provide some kind of export of their code repositories. Typically this is done into XML or JSON formats which can be used to restore the environment. Here is a short guide for how to export metadata from various platforms:

PowerCenter

  • Overview To run the BladeBridge analyzer or converters on Informatica XMLs, the XML file first need to be extracted out of the PowerCenter repository. Typically, it is easier to deal with the analysis and conversion of a relatively granular level, so extracting the artifacts at the workflow level is advisable. Objects can be exported from Powercenter Repository Manager or using pmrep command

  • Metadata Extraction To extract the metadata out of PowerCenter repository, use the following commands:

  • Connect to repository pmrep connect <list of credentials>

  • Get the list of folders pmrep listobjects -o FOLDER

  • For each folder, get the list of workflows pmrep listobjects -o WORKFLOW -f <your folder name>

  • Workflow extraction Create a batch script with the following command template for each folder. Note: Excel can be used to create the script with the following command. pmrep objectexport -n workflow_name -o WORKFLOW -f folder_name -b -r -m -s -u path-to-output-file

DataStage

  • Typically in DataStage the easiest way to export the objects is by using the GUI. However, Datastage has command line utilities to export via CLI.
  • Please use the XML format, as both Analyzer and Converter support XML-only Datastage exports

SSIS

Talend

  • To export all jobs in bulk, right click on Job Designs and select "Export Items". In the popup, select "Include All Dependencies"
talend-export

Note: while Talend jobs can be exported as a single zip file, when running analyzer or any converter utilities please unzip the file(s). Both the analyzer and converters will look for .item and .properties files in non-zipped folders.

ODI

Alteryx

  • Analyzer needs the .yxmd files. These can be obtained by Select File > Export to download your workflow to your local machine in .yxmd format.

SAP Business Objects Data Services

IICS / IDMC

  • Select all the Mapping Configuration tasks you want to read the metadata from and export them as a single file.
infacloud-export

Note #1: Analyzer and Converter expect the metadata from InfaCloud to be preserved as zip files. Please do not change the content of these files. Note #2: InfaCloud zip files are deeply nested. Analyzer and Converter temporarily unzip the contents of the zip files into the folder locations associated with the output analyzer report and output code respectively. On Windows OS, please keep the paths specified in -d, -r, -o switches short, as the fully exploded path may exceed the Windows max path limitation