Table of Contents

Search

  1. Preface
  2. Understanding Mapping Architect for Visio
  3. Mapping Templates
  4. Mapping Objects
  5. Mapping Template Rules
  6. Using the Import Mapping Template Wizard
  7. Using the mapgen Command Line Program
  8. Using Informatica Mapping Templates
  9. Glossary

Mapping Architect for Visio Guide

Mapping Architect for Visio Guide

Using the mapgen Command Line Program Overview

Using the mapgen Command Line Program Overview

Use
mapgen
to create mappings based on published mapping templates you created in Mapping Architect for Visio.
mapgen
uses the mapping template XML file to generate mappings.
To create mappings from a mapping template, complete the following steps:
  1. Export the sources and targets, shortcuts, and lookup sources.
    In the Designer or Repository Manager, export the files for objects in the mapping template that
    mapgen
    requires to generate the mapping.
  2. Edit the parameter file for the mapping template.
    The Publish Template function in Mapping Architect for Visio creates a mapping template parameter file. The parameter file must provide the values for all parameters used in the mapping template. Define each mapping you want to create in the parameter file.
  3. Create mapping file.
    mapgen
    creates a mapping file that you can import into the PowerCenter repository. The mapping file contains an XML representation of the mappings defined in the mapping template and parameter file.
  4. Import the mapping file into the repository.
    After
    mapgen
    creates the mapping file, go to the Designer or Repository Manager to import the mapping file into the repository.

0 COMMENTS

We’d like to hear from you!