I want to run two tcl procs pre-Xlate. I put the second one in the line below the first but when I run the Xlate throught the test tool it only executes the second proc.
When you state you want to run two procs pre-xlate, are you referring to pre-xlate on the route, or are you referring to in the pre- context within the Xlate?
Okay. So, the procs are both going to be using the same values for xlateInVals, and if they are both setting xlateOutVals, the net effect will be only the output of the 2nd proc. If you want the 2nd proc to use the xlateOutVals values produced from the first proc, you will need to code it that way. Does that make sense?
What Jim suggests is something that I do all the time as well. It keeps the procs modularized and provides easy step-through of the actions in the Xlate.