Tracing XML sent and received by the batch command program
To capture a trace of the XML sent and received by the batch command program CCVBMAIN, define the ddname CCVBXML in your JCL.
This data set has one of the following combinations of DCB attributes:
- LRECL=132 and RECFM=F or FB
- LRECL=133 and RECFM=FBA
Figure 1. Example
JCL: ddname to trace XML sent and received by program CCVBMAIN
//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.