Activate the trace for batch jobs by adding DD statements for the parameter data set and the trace output to the JCL. Below is an example of the DD statements and the parameters:
//VIDTRCE DD SYSOUT=*,RECFM=FBA,LRECL=133
//VIDTRCEP DD *
TRACE P01,P02,P03,P04,P05,P06,P08,P09,P07,DIM=VIDKSDS
TRACSET CALLS=0035,SKIP=000360
The VIDTRCEP DD can be an 80-byte data set instead of SYSIN cards.