Ok, just to answer my last question…
set finalmsgf [concat $mshsr$PIDsegmentallr$PV1segmentallr$restmsgr]
That last statement won’t work.
We would need to do something like this:
set finalmsgf [concat $mshsr$PIDsegmentallr$PV1segmentallr$restmsg]
append finalmsgf “r”
Thanks folks!