Select and drop the Data Calculator JavaScript component
onto the link connecting the existing components. The color of the
link changes to blue.
After releasing the Data Calculator component:
It is linked with the components to the right and left.
The Data Calculator window appears.
The Data Calculator window has a Tabular and Graph view:
Use the Tabular view to enter transformation rules.
Use the Graph view to visually define the mapping
sequence between the input ports and output ports.
Click the Graph tab. The IN and OUT boxes represent
the current structure of the port attributes.
Click Yes to assign a default mapping by order.
Click the Tabular tab to return to the tabular view.
Change all incoming data for the PR_NAME
attribute into uppercase letters:
uUpper(IN.PR_NAME) ' OUT.PR_NAME
Enter uUpper(IN.PR_NAME) in
the Transformation Rule column of the IN.PR_NAME attribute.
The IN.PR_NAME value is forwarded to the OUT.PR_NAME
attribute.
Click Save to confirm your settings. The green color
of all ports in the project indicate that all components have been
successfully configured.