Using a basic Code Frag
set OUT [lindex $xlateInVals 0]
set OUTD ~
append OUT3 $OUT $OUTD
set xlateOutVals $OUT3
PID|1|2359349^^^Enterprise MRN^MRN|2359349^^^Enterprise MRN^MRN|2359349^0^^Enterprise MRN^Account No|Zztesttwo^Lexington^^^^^Current||19990926120000|Male|Zztesttwo^Lexington^Middle^^^^Preferred~Zztest2^Lexington^^^^^Previous|CAU~MAL
Output VRL File “MAL~CAU~MAL~CAU~CAU~MAL~”. When using the test Tool there is no issue. Only when the transaction is replayed from SMAT or sent from originating system. The amount of output iterations varies from 1 to 12+
A01|2359349|7004085|Zztesttwo|Lexington|1900 Richmond Rd||Lexington|FAYETTE|KY|40502|(859)000-0000|19990926120000|Male|MAL~CAU~MAL~CAU~CAU~MAL~|S|Inpatien
Any Assistence would be greatly appreciated