IBM Sterling Data Exchange Connect: Network, learn, and share with experts in Sterling Data Exchange Join / Log in
I have a map that converts a positional flat file into EDI 850 . The flat file can contain multiple records . For example , if the input flat file contains 10 records & out of which , 1 record has invalid data , the entire file with 10 records fails . But we need to error out only the one bad record & process the remaining 9 records . Please let me know how we can achieve . Thank you .
The fix is in the bp that invokes the map. Currently that bp processes all the records found in the input file in a single translation execution. You need to add a 'For Each Document Service' loop which can allow you to process all the documents in the file one at a time, invoking the map once for each document. This allows for erroring individual documents rather than all the documents if one is in error.