iNTERFACEWARE Products Manual > Installing and Using Iguana > Using the Tools and Utility Applications > Command Line Tools > msgtransform |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
The msgtransform command line tool allows you to programmatically call the Chameleon mapping logic on a group of messages stored in the HL7 log file format that the HL7 Listener supports. To invoke it you simply need to pass it three parameters on its command line:
You can also supply a flag indicating the type of mapping operation you wish to apply. The default operation is to run each message through scripted transformation as defined in the message definition file. Other operations can also be tested as this table summarizes:
For example if you had your mapping defined in the message definition file hl7tohl7.vmd, the input message file was called "before.txt", and you wished to write the transformed messages to a file called "transformed.txt" then the following would work:
The transformed.txt and before.txt can both be used as inputs into msgdiff which is described in the next section.
|