In this step you will create a transformation map that will do the following:
Use the
button on the toolbar to create a new Transformation map with the following details:
ID | iiiTUTMAP03 |
Description | Employee details XML from CSV selection list. |
Map Type | Unspecified Type |
Restartable | Yes |
Status | Active |
button to open the MapForce mapping tool.

In the Text import / export window, click the Input file button. Use this dialog to navigate to select the file
\\<SRV400>\ifs\LANSA_Composer_licpgmlib\lic\Tutorial\iiiTUTEMPNO.csv |
which you created earlier.




Expand the list of libraries, schemas, or collections using the drop-down menu next to the small arrow. After selecting the library, schema or collection containing the required file (for example, LICLICLIB or LC_DTA on a Windows server), locate the file XEMPLOYEE and select it using the check box.
| The library name should be the same one used in the database connection string used when creating the Database configuration previously. |
jdbc:as400://<SRV400>/<LIBRARY>;naming=sql;errors=full;date format=iso; true;translate binary=true |





In SQL-WHERE properties window, type in the select criteria:
On Windows
xEmployeeIdentification = :inEmpNo |
On IBM i
xEmployID = :inEmpNo |
Press OK


On the Details tab, click Prepare to generate the transformation map code.
Click Prepare on the Prepare Transformation Map dialog.
Remember to look for an IBM i Signon which may be hidden by other windows.
| Use Windows Task Manager to switch to the IBM i Signon dialog. |
