Issue with Z segment in xlate

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Issue with Z segment in xlate

  • Creator
    Topic
  • #53465
    John Stafford
    Participant

      We are receiving a custom message from an outside vendor. I have created a variant that includes the custom segments, and have built an xlate to modify the message in the manner that we need.

      However, when I try to compile/test the message, I get the following error:

      Quote:


      FAILED


      [0:TEST] Unrecognized field name ‘Invalid segment reference: ZPOA(0) 4(0).ZPOA(0).#1’

      [0:TEST] Unable to compile IN list ‘4(0).ZPOA(0).#1’

      [0:TEST] Unable to compile statement ‘

      { OP COPY }

    Viewing 4 reply threads
    • Author
      Replies
      • #77770
        Chris Williams
        Participant

          Try making your segment ID be 3 characters.

        • #77771
          John Stafford
          Participant

            It would seem that you are on to something, as the testing tool is not copying the other Z segments.

            The foreign system is creating these segments, so is it possible for CL 5.5 to interpret segment names that are longer than 3 characters?

          • #77772
            Jim Kosloskey
            Participant

              I believe your foreign system folks need to go back to HL/7 school   😯  – segment IDs are 3 characters.

              It is possible to define larger in the Variant tool but the Xlate won’t recognize them per the standard.

              Time for a little wall-to-wall counseling with the sending system I think  ðŸ˜€

              email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

            • #77773
              John Stafford
              Participant

                Thanks for the replies, gentlemen. Time to hammer the sending system into compliance.  ðŸ˜ˆ

              • #77774

                John, if you can’t get the sending system to comply, you could use a tclproc to modify the segment names before the message is passed to the xlate and variant.

                -- Max Drown (Infor)

            Viewing 4 reply threads
            • The forum ‘Cloverleaf’ is closed to new topics and replies.