Use WriteURL functions to write the results of the mapping to
different files.
Procedure
In readings_map, click the valid
element and open its IO/Database tab.
Drag and drop a WriteURL function in
IO/Database.
Double-click WriteURL to open its properties.
Click the […] button next to the
Representation field and select
XML.
In the URL field, enter file:/// followed by the path
and name of the file you want to create for valid records,
file:///c:/temp/valid.xml for example.
Example
Repeat the previous steps for the invalid and
cleansed elements and configure them to write to
file:///c:/temp/invalid.xml and file:///c:/temp/cleansed.xml for example.
Save your map.
Results
Your map is now fully configured and can be used in a Job.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!