searching variants in process or xlates linked to variants

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf searching variants in process or xlates linked to variants

  • Creator
    Topic
  • #54748
    Darcy Kemp
    Participant

      In an attempt to resolve a format error reported in a process .err log, I am looking for guidance to help identify all the variants that the process’s xlates use, and also, a way to look at all the xlates that use, a particular process.  Your help is appreciated.   Thank you.

    Viewing 4 reply threads
    • Author
      Replies
      • #82832
        Rodger Glenn
        Participant

          You can use this to find variants that are uses in Xlates.

          grep -l “xlt_.*file.* ‘Variant name’ ” $HCIROOT/*/Xlate/*.xlt

        • #82833
          James Cobane
          Participant

            Hi Darcy,

            Xlates are associated with routes from a given thread, and threads are associated with a process, so you would need to identify which threads/routes are using the Xlate and the inbound threads associated process.  I have a script that extracts some route detail information from NetConfig (shows the inbound and outbound thread, TRXID and Xlates used; see sample output attached) which could be modified to include the inbound thread’s process.  Let me know and I can post it.

            Jim Cobane

            Henry Ford Health

          • #82834
            Rob Lindsey
            Participant

              you could also use a multi grep command

              Something like:

              Code:

              grep -E “protocol |.xlt| PROCESSNAME ” NetConfig

              You get a bit of over information but you can then find what you are looking for.  VIA the NetConfig Procotol is first, the any Xlates and then the Process name.

              Rob

            • #82835
              Darcy Kemp
              Participant

                grep is not recognized and I believe a Unix command.  I am on a Windows server.  thank you!

              • #82836

                On Windows you can either use the findStr command or download and install grep for windows.

                -- Max Drown (Infor)

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