I have cobol messages with similar data structure that is read from one queue. The message structure is divided into header and body, the header is the same for all messages and it contains a field message type. With the message type I know what the structure of the body.
I want to know how can I parse any set of messages that start with the same header but the body structure is different from that queue.
------------------------------
Diego Alcorta
------------------------------