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. Appendix A: Glossary

Mapping Architect for Visio Guide

Mapping Architect for Visio Guide

Named Port

Named Port

The Named Port rule links all ports with the specified names in a mapping object to ports with the specified name in another mapping object.
You can use parameters instead of character strings to specify the name. You can also combine a parameter and a character string to specify the name. If you use parameters, provide the parameter value in the parameter file you generate for the mapping template. You cannot include spaces in port names.
If the ending port name is blank, the starting port links to an ending port with the same name.
The following table describes how you can specify port names in a Named Port rule:
Parameter or String
Description
Starting Port: ITEM_NAME
Ending Port: <blank>
Starting port named ITEM_NAME links to an ending port ITEM_NAME.
Starting Port: ITEM_NAME
Ending Port: PRODUCT_NAME
Starting port named ITEM_NAME links to an ending port PRODUCT_NAME.
Starting Port: ITEM,CODE
Ending Port: <blank>
Starting port named ITEM links to an ending port named ITEM.
Starting port named CODE links to an ending port named CODE.
Starting Port: ITEM,CODE
Ending Port: ITEM_DESC,ITEM_ID
Starting port named ITEM links to an ending port named ITEM_DESC.
Starting port named CODE links to an ending port named ITEM_ID.
Starting Port: $PORT_NAME$
Ending Port: <blank>
Starting port with a name that matches the value of the $PORT_NAME$ parameter links to the ending port with the same name. You must provide the parameter value in the mapping template parameter file. The parameter value can include a comma-separated list of port names.
Examples of parameter values:
<PARAM NAME="$START_PORT$" VALUE="PORT1" /> <PARAM NAME="$END_PORT$" VALUE="" />
Starting port named PORT1 links to an ending port named PORT1.
<PARAM NAME="$START_PORT$" VALUE="PORT1,PORT2" /> <PARAM NAME="$END_PORT$" VALUE="" />
Starting port named PORT1 links to an ending port named PORT1. Starting port named PORT2 links to an ending port named PORT2.
Starting Port: $PORT_NAME$
Ending Port: $PORT_NAME$
Starting port with a name that matches the value of the $PORT_NAME$ parameter links to the ending port with the same name. You must provide the parameter value in the mapping template parameter file.
Starting Port: $PORT_NAME$
Ending Port: IN_$PORT_NAME$
Starting port with a name that matches the value of the $PORT_NAME$ parameter links to the ending port with the same name prefixed by
IN_
. You must provide the parameter value in the mapping template parameter file.
For example, you set the parameter value in the parameter:
<PARAM NAME="$PORT_NAME$" VALUE="ITEM_NAME" />
Starting port named ITEM_NAME links to an ending port named IN_ITEM_NAME.
Starting Port: $START_PORT$
Ending Port: $END_PORT$
Starting port with a name that matches the value of the $START_PORT$ parameter links to the ending port with a name that matches the value of the $END_PORT$ parameter. You must provide the parameter value in the mapping template parameter file. The parameter value can include a comma-separated list of port names.
Examples of parameter values:
<PARAM NAME="$START_PORT$" VALUE="ITEM_NAME" /> <PARAM NAME="$END_PORT$" VALUE="PRODUCT_NAME" />
Starting port named ITEM_NAME links to an ending port named PRODUCT_NAME.
<PARAM NAME="$START_PORT$" VALUE="PORT1,PORT2" /> <PARAM NAME="$END_PORT$" VALUE="PORTA,PORTB" />
Starting port named port1 links to an ending PORT1 named PORTA. The starting port named PORT2 links to an ending port named PORTB.

Syntax

Use the following syntax when you include this rule in a Parameter rule:
Named:<
StartingPortName
|
ParameterName
> (TO) <
EndingPortName
|
ParameterName
>

0 COMMENTS

We’d like to hear from you!