I am able to create XML message for individual COBOL copybooks like below.
XML GENERATE XML-GEN-DOCUMENT FROM EMPLOYEE-DETAILS
But, my requirement is need to generate XML for different copybooks. Instead writting separate XML GENERATE statement for each copybook, how to write a singe XML GENERATE statement for all copy books.
Requirements: Need to create XML message for each & every response from mainframe to client through MQ using COBOL.