Copying DG1 segments

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Copying DG1 segments

  • Creator
    Topic
  • #54261
    Mark Brown
    Participant

      In CL 6.02 on a Windows 2008 server, I’m trying to create a BAR^P01 message from an A04 message using XLATE. I tried doing a PathCopy on the DG1 segment, but I only got the first segment when that segment repeated.

      So I did an iteration and when I run a test file through it, the DG1 segments look fine. However, when I send a message through the engine, using this XLATE, everything comes out fine, with the exception of fields 4-6 of the DG1.  I’ve tried the iteration with both copy and pathcopy and it doesn’t change the result.

      I don’t know why it looks fine in the testing tool, but not when it passes through the thread on the engine.  I also route the original A04 to the same destination thread and it looks fine.

      Any ideas on what I’m missing?

    Viewing 2 reply threads
    • Author
      Replies
      • #80764
        Jim Kosloskey
        Participant

          Mark,

          Are you testing and running inside the engine in the same site?

          If not it may be possible the variants in the site you are testing in and the site you are running in are different.

          Other things to try:

          Reduce your Xlate to just the DG1 and to make sure something later in the Xlate is not changing things.

          Make sure you cycled the process in the engine before evaluating the Xlate.

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

        • #80765
          Charlie Bursell
          Participant

            What does your PATHCOPY look like?  Perhaps you have something like:

            PATHCOPY 1(0).DG1(0)

            If so you are telling it you only want the first iteration.  It should look like:

            PATHCOPY 1(0).DG1

          • #80766
            Mark Brown
            Participant

              Thanks for the replies.  I did change the xlate and got rid of the iteration I didn’t really need for the DG1.

              After making some changes I noticed that after bouncing the process, the changes weren’t taking effect. I rebooted the engine and my changes started showing up.  Weird.

              Thanks again.

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