For activating
a trace at the z/OS CallAPI – program UCXBM25C – two modification in the JCL
are necessary:
- Add the
parameter “TRACE=Y” in the PARM parameter string of the EXEC statement.
- Add an
additional DD statement “TRACE”. For example with “SYSOUT=*”.
Here an
example JCL:
//CALLA112 JOB ,'J.SCHARL',NOTIFY=&SYSUID
//UCCALL EXEC PGM=UCXBM25C,REGION=65M,
// PARM='INI=UC4SCJ.UC412.UCXJM25C.INI(CP001) TRACE=Y'
//STEPLIB DD DSN=UC4SCJ.UC412.UCXJM25.LOAD,DISP=SHR
//SYSIN DD DISP=SHR,DSN=UC4SCJ.UC4.SCRIPT(SEND#MSG)
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//TRACE DD SYSOUT=*
//
https://us.v-cdn.net/5019921/uploads/editor/vg/pc409efg2rlc.png" width="1129">
The trace output can be found in the JES spool file “TRACE” of the job:
https://us.v-cdn.net/5019921/uploads/editor/b0/qbww7bxbkopd.png" width="1145">