I have a system that will be placing multiple flat files in a specified folder on their system.
I read the posts on the vrl/hrl and decided to go the way of a tcl proc to convert to HL7 before the xlate.
I have several threads that use a UPoC to read a file and quite a few pre-procs that masage the file but what I am looking to do here is a UPoC to do both. I’d like to read the files in the directory one at a time and for each file convert it to HL7 before sending it to the translate.
I have the UPoC working that reads the files and the tcl proc working that manipulates the files but can’t seem to make them work together.
Is this doable and does someone have an example to share that reads and manipulates a file or is there a better way?
Hope this makes sense!!
Thanks in advance,
Carl