Jim Kosloskey

Forum Replies Created

Viewing 15 replies – 1 through 15 (of 4,234 total)
  • Author
    Replies
  • in reply to: Overwritting a value #122261
    Jim Kosloskey
    Participant

      Sorry to hear that.

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

      in reply to: Overwritting a value #122259
      Jim Kosloskey
      Participant

        Thank you, but not brilliant, I just have bashed my head against the same wall before. Now get upgraded!!

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

        in reply to: Overwritting a value #122255
        Jim Kosloskey
        Participant

          If it worked in the testing tool, it should work in the engine assuming you are executing the same Xlate in the engine as you are testing. This is something you might have already checked but make sure the Xlate you are testing is in the same site as the engine is running.

          As for the code, I would need to see more to assist should you be executing the same Xlate you are testing. If you would like to do a desktop sharing session where I can help, email me.

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

          in reply to: Adding new OBX segments to an iteration? #122252
          Jim Kosloskey
          Participant

            Congratulations in getting it working. It appears your solution will only work if there is one and only one OBX/NTE group. Perhaps that is the situation. However, if the source system ever sends multiple OBX/NTE Groups, your solution may not function as desired.

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

            in reply to: Adding new OBX segments to an iteration? #122248
            Jim Kosloskey
            Participant

              Another example is you can actually increment or decrement the % counters directly as well by doing a MATH ADD with $%s1 (for example) and =1 in the Source column and $%s1 in the Destination column.

              The rule is when referencing the iteration variable (% counter) in the Source or Destination a $ must prepend the iteration value, whereas when used in the address path of a data item no $ is used (or else the result has the value of zero).

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

              in reply to: Adding new OBX segments to an iteration? #122247
              Jim Kosloskey
              Participant

                Actually, I do MATH Actions on the % variables all the time. You can increment or decrement them as needed inside the Xlate thus reducing or eliminating altogether the need for intervening temp variables.

                For example, to set the Set ID for an OBX Segment, do a MATH ADD using $%s1 and =1 placing the result in the OBX Set ID field (the % variables are always relative to zero, the Set ID relative to one).

                I cover this along with other Xlate ITERATE nuances and principles in my Xlate ITERATE Calss (shameless plug).

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

                in reply to: Adding new OBX segments to an iteration? #122245
                Jim Kosloskey
                Participant

                  If after reading the provided answers (all of which are correct) you still are having issues, I am willing to via desktop sharing, help you work through this issue. There are some nuances involved.

                  Just email me and we can work on this off-line if you would like. Email is in my signature.

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

                  in reply to: over command #122227
                  Jim Kosloskey
                  Participant

                    Hi Tom,

                    I did this and needed to make a copy of the message to be OVER’d prior to setting the disposition and returning to the engine. I can send you that proc and its User Doc if you email me.

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

                    in reply to: User Testing & Feedback #122209
                    Jim Kosloskey
                    Participant

                      Sounds worthwhile – thanks for sharing.

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

                      in reply to: Multiple messages from one #122208
                      Jim Kosloskey
                      Participant

                        Roland,

                        email me (my email is in my signature on this post) and I will try to help.

                        Jim

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

                        in reply to: Command line Smat #122204
                        Jim Kosloskey
                        Participant

                          There is more regarding the Tcl API for SMATdb here:

                          docs/clis_2022.09_clfisolh_op_en-us.pdf

                          Find that file in your /integrator directory path as indicated above. This is what is available in 2209, hopefully it exists in your release. If it does not email me and I will see what I can do.

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

                          in reply to: Command line Smat #122203
                          Jim Kosloskey
                          Participant

                            Tim,

                            I found some help file that indicates:

                            smatdbdelete smatdbhandle ?deleteCondition?

                            The deleteCondition is to be an SQL WHERE statement describing the conditions for deletion.

                            I suspect this module is to be called via another Tcl Proc so you will need to construct the wrapper. Perhaps use Charlie’s code modified to add a deletion option and exploit the other code to get to the point of deletion.

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

                            in reply to: Command line Smat #122202
                            Jim Kosloskey
                            Participant

                              The conundrum here for Infor, I suspect, is SMAT is supposed to be the accurate representation of the messages that passed through that Thread. Allowing deletion of entries would open up the question of the accuracy of the SMAT.

                              What would happen if you had to prove a message you deleted actually traversed the thread? Will you keep another audit repository for that situation? How will that fit into the methodology your shop uses to troubleshoot? You may have already thought of the above so ignore if you want.

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

                              in reply to: Command line Smat #122197
                              Jim Kosloskey
                              Participant

                                Charlie Bursell wrote the attached some time ago. I believe this is the latest version.

                                Attachments:
                                You must be logged in to view attached files.

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

                                in reply to: Single File Pickup #122177
                                Jim Kosloskey
                                Participant

                                  Jason, did you get this resolved?

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

                                Viewing 15 replies – 1 through 15 (of 4,234 total)