Route detail within route detail preproc

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Route detail within route detail preproc

  • Creator
    Topic
  • #54640
    Bob Schmid
    Participant

      Im in a tps xlate route preproc…and id like to know which route detail i m executing for…

      if A04 has 3 routes, using same preproc and 3 diff xlates (1 per route)

      Can i determine, within the preproc, which route I am executing for?

      Hopefully missing the obvious

      Dont see it in metadata for msgid….

      Bob

    Viewing 2 reply threads
    • Author
      Replies
      • #82367
        Charlie Bursell
        Participant

          If they are going to different output threads just “echo [msgmetaget $mh DESTCONN]”

        • #82368
          Bob Schmid
          Participant

            Thanks Charlie,….but they are going to the same destconn…. route proc filters…. I would like the route proc know as to “whom: called him without getting into logic that the xlate or downstream procs perform

          • #82369
            Jim Kosloskey
            Participant

              How about passing an argument to the proc (specify UARGS) which indicates the route? It would mean needing to set something up in each configuration besides just invoking the proc but should do the trick.

              This way you can name the route whatever you want.

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

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