I have an Material Management file with mulitple cd1, cd2 and cd3 segments.
I need to build each set of 123 segment into an hl7 message and send one message for each group.
If I can see proc that does a similar task I should be able to apply the logic to my script.