Using Special Characters in the Source Value Expression for Like Mappings

The Source and Target Value expressions can have one or more special characters. Special characters are supported for Like mappings only.

Table 21. Examples of Expressions Using Special Characters

Special Character(s) UsedMapping TypeSource ValueTarget ValueResultNotes

*

Data Load*1000

1000 returns 1000

WXYZ returns 1000

In this example, FDMEE processes all rows and overrides the source value with a default value of 1000. In this expression, WXYZ also returns 1000. Because you entered an asterisk for the source value FDMEE replaces any source value with the target value of 1000.

*

Data Load **

1000 returns 1000

WXYZ returns WXYZ

In this example, FDMEE processes all rows and replaces the source value as is.

*

Stripping*A*

101 returns A101

Processes all source members, and adds an “A” as a prefix.

*

Stripping*_DUP*

1000_DUP returns 1000

Processes and strips off only source values ending with “_DUP.”

?

Stripping?**

A1000 returns 1000

B2000 returns 2000

This result processes only source values of one or more characters in length.

Strips off the first character

?

Stripping*????*

1000_DUP returns 1000

A1000 returns A

This result processes only source values of four or more characters in length.

Strips off the last 4 characters

<1>, <2>, <3>, <4>, <5>

Data Load<1>*

01_420 returns 01

 

<1>, <2>, <3>, <4>, <5>

Data Load<2>*

01_420 returns 420

 

<1>, <2>, <3>, <4>, <5>

Data Load<3>*

01_420_AB_CC1_001 returns AB

 

<1>, <2>, <3>, <4>, <5>

Stripping?<1>*

A01_420 returns 01

 

<BLANK>

Data Load<BLANK>[None]

' ' returns [None]

'01_ ' returns [None]

Single quotation marks are shown for illustration only.