Utility command for dtxany2xml

The dtxany2xml utility is used to produce a map that can transform any input data into XML output.

The dtxany2xml utility performs the following tasks during execution:
  • Exports the input schema as an XML Schema
  • Creates an XML schema from the generated XML Schema
  • Creates a map source file containing two maps:
    • The first map has the name that you specified in the command line.
    • The second map has the same name as the first map but with _r appended to the end of it.

    Use the second map only when the schema that you specified in the first parameter of the dtxany2xml utility command was imported from a COBOL copybook.

The dtxany2xml utility command returns 0 if the transformation into XML output is successful and 1 if it is not successful. It is a batch operation and can also be used for automation.

See "Troubleshooting" for details about capturing and evaluating the return code resulting from the execution of this utility command.