To capture a trace of the XML sent and received by the batch command program CCVBMAIN, define the ddname CCVBXML in your JCL.
//CCVBXML DD DSN=MYID.CCV.XMLTRACE,
// UNIT=SYSDA,SPACE=(TRK,(150,150),RLSE),
// LRECL=132,RECFM=FB,
// DISP=(MOD,CATLG,CATLG)
For example, you might find it useful to extract from this data set the response XML for a batch command, and use an XSLT stylesheet to transform the XML into some other format.
For details on the format of the XML sent and received by the batch command program, see Using the SOAP API.