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

Modifying the Parameter File

Modifying the Parameter File

The mapping template parameter file is an XML file. Modify it in the same way you modify HTML and other text files.
When you install PowerCenter, the DTD for the mapping template parameter file is installed. To view the DTD for the parameter file, locate the
parameter.dtd
file in the following directory:
<
PowerCenterInstallationDir
>\client\MappingTemplate\dtd
The number of MAPPING elements in the parameter file equals the number of mappings you want to create from the mapping template.
To modify the parameter file:
  1. Locate the mapping template parameter file for the mapping template you want to use.
  2. Open the mapping template parameter file with a text editor.
  3. Search for the following string in the file:
    <PARAMETERS REPOSITORY_NAME=
  4. Set the REPOSITORY_NAME property to the name of the repository where you plan to import the mappings.
  5. Search for the following string in the file:
    <MAPPING NAME=
  6. Set the following required mapping properties:
    • Name of the mapping
    • Folder name in the repository where you plan to import the mappings
    • Description of the mapping
  7. Search for the following string in the file:
    <PARAM NAME=
  8. Set the mapping template parameters to values appropriate for the mapping.
  9. If you want to create more than one mapping from the same mapping template, add as many copies of the MAPPING element to the parameter file as you require and set the parameters to the values appropriate for each mapping.
  10. Save the parameter file and close it.

0 COMMENTS

We’d like to hear from you!