I have been asked by the receiving system to make several changes to the ADT messages that I will send out to them. I am not sure how to approach this. I am not a TCL writer. I have not written a TCL script before. I am wondering if there is another way that I could perform these changes without having to write a TCL script or if a TCL script is required, does anyone have one already out there?
The following changes need to be made:
PID, 3 eliminate all but 3.1 portion (including sub-component separators)
PID,17 eliminate all but 17.1 portion
PID,18 eliminate all but 18.1 portion
PV1,18 eliminate all but 18.1 portion
SSN should not include the -‘s (dashes).
Can anyone help? Does anyone have a TCL script, if necessary?