› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Multiple threads connection › Reply To: Multiple threads connection
There’s a set of standard map tables that you can use to transliterate ebcdic to ascii and back again. So, when the message enters the engine you change it to ascii, work with it, then convert it back to send back. The procedure is hcitpstableconvert.
The secret to usin this proc is knowing what map tables you can use. You’ll find the tables in $HCIROOT/tcl/lib/cloverleaf/hciStart.tlib. The list names are the table names. The first one is hcie2a, and so on. The standard tables are hcie2a and hcia2e.
There is also a TCL command to transliterate using the map tables (that’s what hcitpstableconvert uses). The command is msgmapdata. Using this command you can write your own tcl to transliterate messages at will.
BTW, you could create your own map tables as well if you don’t like ours for some reason.
It’s not possible to change the data that goes into a SMAT file (that’s the whole idea behind SMAT, guaranteed not to have been changed). But you could resend from a smat file to a thread that transliterates. Or you could put the data into a file and write a TCL to transliterate it outside the engine.
Cheers,