Clovertech
› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › ASCII HL7 converted to EBCDIC??
Hello,
(Cloverleaf 5.5)
I have created an FRL from an ASCII HL7 message but the receiving system needs the FRL to be converted to EBCDIC, are there any cloverleaf procs that will perform this conversion?
Thanks in advance!!
Mike
Yes there is but I will be darned if I can recall it. In my previous life our main frame sent everything in EBCDIC so we had to convert it.
Sorry I can’t find it here but I’m sure it is a proc that did a table lookup but I can’t seem to find it. I’m about 99% sure it came with Cloverleaf.
Mike,
hcitpstblconvert is the proc you want.
It needs to have a translit table referenced as an argument.
{TABLENAME “xxxx”} where xxxx is the table name.
Look in the Cloverleaf doc for the provided tables but I have used ibm_a2e for ASCII to EBCDIC.
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.
I placed hcitpstblconvert (args: {TABLENAME ibm_a2e}) on the outbound tps and it worked like a charm, thanks for all your help!
Mike:
If you want your OB SMAT file to have ASCII data instead of EBCDIC data I would place that proc in prewrite instead of outbound
Charlie…I will test that tomorrow morning, thanks for the heads up….Mike