Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

input in error

Status
Not open for further replies.

jinkys

Programmer
Sep 11, 2003
67
GB
Hi all

I have an issue where I read messages from a channel one at a time, a bit like MQ, and process each message using the file adapter as input instead of the MQ adapter. The issue being that if the input is invalid the map falls over. What I need is for the map not to fall over but write each failure to a file, I have tried the restart attribute and reject but this only works on optional fields, I need it if any input fails, anyone have any ideas on how this can be done?
 
If the tree will validate the data, you would have to use backup on error, you could also put the restart and reject on the topmost item in the tree.

Another way would be to use a Main map with a text blob sending the data to a run map for validation, and with a valid/put data to a file type function.



BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top