Barbi,
First question – what do you get as a result of your proc execution?
Suggestion – place some echo statements in the proc to se what you are working with.
Second question – it appears you are expecting your data in the 5th. ( lindex $xlateInVals 4]) and 6th. ([lindex $xlateInVals 5]) elements of the XlateInVals list – is that true or do you expect there to only be 2 elements (0 and 1)?
If you want to chat about this send me your # michiliman@comcast.net
Jim Kosloskey
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.