Good FAC question

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Good FAC question

  • Creator
    Topic
  • #51875
    Mike Campbell
    Participant

      Clovertechers,

        While you are all sitting around you respective Friday Afternoon Clubs how can I code an XLATE to use the site it is running on to flex the P or T in the MSH-11 Processing ID field?  

      In effect, checking to see if the site is cl_test code a T.  If cl_prod code a P.  I’m sure there is a simple solution but didn’t see anything like that in the forum.

    Viewing 1 reply thread
    • Author
      Replies
      • #72102
        David Barr
        Participant

          In a TCL fragment, you could copy $::HciSite to xlateOutVals, and put that in a copy action into a temporary variable.  Then you could use an IF action or a TABLE action to translate the site to a P or T.

        • #72103
          Mike Campbell
          Participant

            Thanks David.  I figured it was fairly easy.  I just didn’t know exactly how to get that information/variable name.  

            Works as advertised.  

            Enjoy the weekend.

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