X12 Mult ST in message – setting ST Control ID

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf X12 Mult ST in message – setting ST Control ID

  • Creator
    Topic
  • #51613
    Jim Kosloskey
    Participant

      Cloverleaf(R) 5.6.

      I have a situation where I need to create multiple ST loops from an X12 inbound message with one ST Loop that exceeds a limit of the number of CLM segments for a receiving systgem.

      i have everything functioning properly but I have run into an issue where the Xlate does not allow me to change the ST-2 Field (Control ID) for each new ST. It defaults to 0001.

      I should be able to set this to anything I want as long as it is unique within a Functional Group (GS/GE).

      I am able to change the SE-2 Control ID but not the ST-2.

      Any ideas?

      email: jim.kosloskey@jim-kosloskey.com 30+ years Cloverleaf, 61 years IT – old fart.

    Viewing 0 reply threads
    • Author
      Replies
      • #70983
        Jim Kosloskey
        Participant

          Nevermind.

          I looked and looked at this and the obvious escaped me.

          In order to do this I needed a Group repition Counter of my own making. I used %g99 BUT in my COPY to ST-2 I used %s99.

          🙄

          Damn keyboard (it is best to blame the technology not the operator)  😳

          email: jim.kosloskey@jim-kosloskey.com 30+ years Cloverleaf, 61 years IT – old fart.

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