infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Batch file to mutiple msg
Hongle Sun
I would like to convert one record line within batch file to a single hl7 message via tcl / xlate. How can i do that? anyone out there has something would like to share with? Thanks
Find more posts tagged with
Clovertech
Comments
jcobane1
Hongle Sun,
This is very easily done by using the fileset-local protocol and selecting 'nl' (for newline) as the 'style' on your inbound thread. This will read each line of the file as a single message and then delete the file when it's done processing.
Hope this helps.
Jim Cobane
Henry Ford Health
Hongle Sun
Thank for the reply. One thing i would ask, which way you conver the incoming message to an particular message type sending to outbound thread, by tcl proc or xlate file? my flat file data would be deliminated by"|" sequencially and no segment id leading, can it be done?
jcobane1
Hongle Sun,
You would treat this no different than any other interface. I'm assuming that you would define an inbound record layout (a VRL, based on the fact that you described it as a pipe delimited file), then build a translation (Xlate) that maps to whatever outbound record definition you specify.
Jim Cobane
Henry Ford Health
System
Originally posted by Wilson Wat
I need to do similar things. Can we talk on the phone?
My number is 267 479 1312.
Thanks,