Create a Dynamic Port and Define a Dynamic Expression
Create a Dynamic Port and Define a Dynamic Expression
Create a dynamic port as an output-only port in the Exp_TRIM transformation. Define a dynamic expression to remove the spaces in the beginning and end of the strings.
In the
Properties
view of the Exp_TRIM transformation, click the
Ports
tab.
Click
New Dynamic Port
.
Clear the
Input
column to make this port an output-only port.
Rename the dynamic port that you created as
Dynamic_TRIM
.
In the
Expression
column for the
Dynamic_TRIM
dynamic port, click the
Open
button (
).
The
Dynamic Expression
window opens.
Replace the existing expression in the editor with the following expression:
LTRIM(RTRIM(From_Read_Customer_FF))
Click
Validate
to validate the expression.
Click
OK
to exit the
Validate Expression
dialog box.
Rename the output ports for the expression as follows:
In the
Output Port Settings
area, select the Base Port as From_Read_Customer_FF.