Read Flat File map inputs

You can map a string variable that contains the flat file data to the input parameter of the Read Flat File activity called Data.

About this task

Data is an input parameter of type string or base64Binary. During run time the string variable must contain flat file data before the Read Flat File activity is run. For more information see the following Runtime Example.

The Encoding input parameter is optional. You are not required to map this input parameter. If the Encoding input parameter is not listed in the To Activity pane of the Map Inputs pane, select Map > Show Optional Parameters from the toolbar menu or right-click the To Activity pane and select the Show Optional Parameters option. If the Map > Show Optional Parameters option is not selectable in the toolbar menu, click a node in the Map Inputs pane to make this option active.

The Encoding input parameter specifies how the incoming data is decoded when read:

Procedure

Example

Optionally, you can override the Encoding setting you specified in the Configure task of the Checklist dynamically during run time, using the Encoding input parameter. For example, if you set the Encoding to UTF-8 in the Configure task but during run time you passed in the Encoding setting of Shift_JIS. The Encoding setting specified dynamically during run time overrides the original setting specified in the Configure pane. In this example, the Encoding would be set to Shift_JIS. There is one exception to the dynamic overriding behavior if the Data is text-Needs no decoding or encoding option is selected in the Configure task, the Encoding dynamically set during run time is ignored and no decoding occurs.

See Creating a map for general instructions on mapping.




Feedback | Notices


Timestamp icon Last updated: Wednesday, 15 June 2016


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.doc/Read_Flat_File_Map_Inputs.html