Reply To: Multiple threads connection

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Multiple threads connection Reply To: Multiple threads connection

#56603
Anonymous
Participant

I’m not sure I understand what you’re trying to do.  Here’s two ideas.

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,

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,292
Replies
34,435
Topic Tags
286
Empty Topic Tags
10