Fixed width file...FCC
I am using fixed width file,(FCC with file adapter) for my rek. But I want to validate the input file like........ whenever mandatory field value (data) comes to be zero, mapping should fail or warning should come. How can we do this through FCC (File Content Conversion ) ?? Is there any otherway to handle this ??
Satish Reddy replied
You make the target field for which it is mapped as the occurrence 1..1 Then you map as:
>condition (check the value not equals to zero)>createif-->target.
So when ever the value is not equal to zero it returns true to createif and the target field will be there. If the value is equal to zero then the condition gives false. Then the createif will be failed to map and your target is 1..1 so the mapping will be failed.
You configure alerts for all the mapping errors.