IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
Expand all | Collapse all

Failed COMPONENT RULE test for component number 1

  • 1.  Failed COMPONENT RULE test for component number 1

    Posted 10/31/18 06:20 AM

    Originally posted by: skioord


    hello Paul,

    We have an iDoc that enters the  wtx map  (1 inputcard only). The validation does not succeed with the sample iDoc :

    we got several (similar) errors :

    (Level 3: Offset 1587, len 63, comp 1 of 9, #1, DI 000000000028:)
    Data at offset 1587 ('E2PITYP001      ...') failed COMPONENT RULE test
       for component number 1, TYPE X'0042' (E2PORIG000 Segment HRMD_A07 ALE).

     

    I suppose something is wrong or in the input or in the typetree maybe the rule ?

    Can you please verify  why i got this failure ?

    I attached the  typetree, input sample and the  mtr file.

     

    Regards 

     

    luc

     


    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 2.  Re: Failed COMPONENT RULE test for component number 1

    Posted 11/05/18 02:36 AM

    Originally posted by: PaulBrett


    The trace shows:

    (Level 2: Offset 1587, len 63, comp 1 of 7, #1, DI 000000000010:)
    Data at offset 1587 ('E2PITYP001      ...') failed COMPONENT RULE test
       for component number 1, TYPE X'3317' (E2UPSLINK000 Segment HRMD_A07 ALE).

     

    ...and looking at the component rule for 'E2UPSLINK000 Segment HRMD_A07 ALE', I see:

     

    SEGNAM Data Record_Field:$ = "E2UPSLINK000"

     

    ...and yet the data contains;

     

    (Level 4: Offset 524, len 30, comp 1 of 6, #1, DI 000000000002:)
    Data at offset 524 ('E2PLOGI001      ...') was found to be of TYPE
       X'0031' (SEGNAM Data Record_Field ALE).

    ....so I believe this is where your issue lies.

    Thank you.

    Paul

    Follow me on Twitter


    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange