Splitting messages

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Splitting messages

  • Creator
    Topic
  • #51404
    David Harrison
    Participant

      Cloverleaf 5.6 rev2.

      I

    Viewing 3 reply threads
    • Author
      Replies
      • #70140
        Jim Kosloskey
        Participant

          I am not sure why you have the last CONTINUE, as far as I can see that is not necesary and may be causing a part of the problem.

          The other thing you will have to do is to manage your own outbound iteration counter. Using %g1 will not give you the results you want.

          For each new message you create, your outbound iteration counter needs to restart at 0 and never be larger than 2.

          So if you have 9 inbound iterations of the OBR:

          Iteration 1: %g1 = 0 %(your counter) = 0

          Iteration 2: %g1 = 1 %(your counter) = 1

          Iteration 3: %g1 = 2 %(your counter) = 2

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

        • #70141
          David Harrison
          Participant

            I

          • #70142
            Russ Ross
            Participant

              If you are satisfied with your xlate iteration like you say and would be happy with one message per CSV file then you might find my posted tps_fileset_outbound

              script used to create separate numfiles for every outbound message at this URL:

              <a href="https://usspvlclovertch2.infor.com/viewtopic.php?t=1663&#8243; class=”bbcode_url”>https://usspvlclovertch2.infor.com/viewtopic.php?t=1663

              In your case you probably want the suffix argument to be {.csv}

              Russ Ross
              RussRoss318@gmail.com

            • #70143
              David Harrison
              Participant

                Thanks Russ,

                Looking at your code showed me what I was doing wrong in my code. I was lappending to displist and it should have been dispList.

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