on 09-10-2009 1:45 PM
Hi
I want to ignore a complete record in a file if any field does not have any value. I get some times some fields do not have value.
But at present if any field does not contain any value then the whole file is rejecting.
I have set the occurances as
Sender DT
--->Record_Node ---> occurance ---> 0..unbound
-
>field1--
-
>field2--
-
>field3--
-
>field4--
I do not want the whole file to be rejected but I want only one record to be deleted or ignored if any field does not contain value and other records data to be sent to receiver.
For eg:
1001 22000 54758 98745
1002 25000 54759 98746
1003 25000 98746
1002 25000 54759 98746
In the above case the third record third column does not have the value and hence the third record need to be deleted. But unfortunatly at present the whole file is getting rejecting.
Thanks.
Hi,
>>I do not want the whole file to be rejected but I want only one record to be deleted or ignored if any field does not contain value and other records data to be sent to receiver.
Take care of this in message mapping. I will suggest to go for two target structure (same will be their structure). And based on condition differentiate the records in Message Mapping itself. Like this you have a set of successful record and you have another set of failures..
Regards
suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I did that. Any field value could be empty. Because the input source will be produced by the machine. In mapping sender data type as well as receiver data type - for all fields i made default value is 0, even then it is not taking any default value and the total file is getting rejecting and even successful data records are also going off.
managing at proxy level.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.