Adding leading zero’s and goes away when it goes outbound

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Adding leading zero’s and goes away when it goes outbound

  • Creator
    Topic
  • #55762
    Tom Gilbert
    Participant

    I wrote a tcl proc to add leading zero’s to make it a total of 9 characters for MRN. This is in PID.3. This adds it ok but as soon as it reaches outbound the zero’s are stripped. How can I get it to hold. I did make PID.3 a string.

Viewing 3 reply threads
  • Author
    Replies
    • #86412
      Jim Kosloskey
      Participant

      Is this Tcl inside an Xlate? Does it show OK in the tester?

      If not where do you have your proc placed (IB Tps, pre-route, post-route, OB Tps)?

      Make sure there are no other procs downstream from where you placed your proc which could modify your changes.

      email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

    • #86413
      Tom Gilbert
      Participant

      I got it to work.  was odd…  I had the following:

      echo set xlateOutVals $newmrn

      I took the echo off and all was ok… odd…

      Thanks,

      Tom

    • #86414
      Jim Kosloskey
      Participant

      So did you remove the echo and leave the set or did you remove the entire line?

      email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

    • #86415
      Jim Kosloskey
      Participant

      So did you remove the echo and leave the set or did you remove the entire line?

      email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

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

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,293
Replies
34,435
Topic Tags
286
Empty Topic Tags
10