Learn how to use the FileInput node to read a file on your local file system and then propagate messages that are based on the contents of that file.
<Message>test1</Message>
<Message>testtwo</Message>
<Message>testthree</Message>
Each line ends
with a line terminator; on a Windows system,
this comprises carriage return and line feed characters (X'0D0A').
Put this file into directory C:\FileInput\TestDir.<Message>...</Message>
Complete the following steps:
<Message>test1</Message>
<Message>testtwo</Message>
<Message>testthree</Message>
To see the effects of specifying other combinations of values in the Record detection, Delimiter, and Delimiter type properties of the FileInput node, see Controlling how files are separated into records.
To extend this example to process files from within subdirectories, put the input file in a subdirectory of Input directory, and select the property Include local subdirectories.
You can view information about samples only when you use the product documentation that is integrated with the IBM Integration Toolkit or the online product documentation. You can run samples only when you use the product documentation that is integrated with the IBM Integration Toolkit.