Skip to Content
avatar image
Former Member

Mapping concept issue with queues

Hi Friends

Can you please clear my following doubt.

As we know target fields are filled wit the values from the result queues. In doing so the values are compared to the attributes for occurrence.

If the upper limit for the number of cocurecces of a target field is exceeded, additional result values from the result queue are ignored -- this is fine.

But if the lower limit is not reached, an exception is triggered. I am confused with this. While testing it was running fine by appending the last values.

For example:

Source : VendorNo (minocc=1 maxoccur=6)

Target: VNo (minocc=3 maxoccur6)

Now source has

VendorNo - v1,v2 --- only 2 values

exception should occur right as minocc of the target field is not met. But while testiing it was running fine.

Target is getting:

VNo - v1,v2,v2

Confusedd????

Please let me know your comments on this

regards

sam

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 30, 2007 at 12:30 PM

    hi samuel,

    if minOccurs of target ELEMENT are not met last value of source is repeated.

    if minOccurs of target NODE is not met exception is triggered.

    if minOccurs of source is not met exception is triggered.

    [reward if helpful]

    regards,

    latika.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 30, 2007 at 01:36 PM

    Hi,

    Generally it takes value of the last value.

    You can see the exception when the value is SUPPRESS.

    You can test by deleting VendorNo in test of the mapping program.

    Hope this helps.

    Prasad Babu.

    Add comment
    10|10000 characters needed characters exceeded