Jennifer,
Can you post a little more information on the error you are receiving?
As Greg indicated, the problem usually presents itself when you can actually “echo” out the values in question. What you think is being compared might not be what is actually being processed, something the “echo” would quickly identify. If you are not familiar with adding “echos” to assist with troubleshooting, it would go something like this:
1. Add a copy statement right before the “If” statement. Copy 1(0).1(0).1(%g1).OBX.00569.[0] to @my_temp_val. In the pre tcl box of this copy add echo >$xlateInVals<
2. In the statement where you created the @LAST_SET_ID temp variable, add echo >$xlateInVals< to the pre tcl box.
Now when you run the xlate the actual values will be displayed for the two fields in question. Make sure you see what you expect to see.