Originally posted by: jvanboga
The PDFs used to have some pretty good basic examples of this. Depending on the version you are using the pdf file should be '1005.pdf'(formerly known as 'Map Designer Reference Guide').
Assuming your type tree is a data file the simplest way is to create a map using 'Map Designer'. Start by defining one input card label your schema and point to the tree and type (file level group in define in type tree.) Define your data source as file and point to the file. Run your map. If your map fails its because your type tree and data dont appear in sync. Turn on Trace, recompile and run. Once the map fails youll have a trace file that will help you identify what the problem is.
Once your map is working to this point copy your input card to output (will need to rename) assign an output file, file name and map the data to the output card. Recompile and rerun. Compare your input and output files. They should be exactly alike.
Keep in mind that a map reading a large data file with trace turned on will create a very large trace file. Read the PDFs to help determine how you can make your trace files more manageable.
#DataExchange#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender