Using IRXJCL

To invoke the ATBTRACE exec using IRXJCL (to run the exec in a non-TSO/E address space), specify the following on the JCL EXEC statement:
  1. IRXJCL on the PGM parameter, and
  2. ATBTRACE and its parameters on the PARM parameter.
For example, the following contains JCL to submit an ATBTRACE LIST request for active traces for all trace data sets on the system:
//JOEA    JOB MSGLEVEL=(1,1)
//*
//* EXAMPLE OF LISTING ALL TRACES BY INVOKING
//* ATBTRACE LIST USING IRXJCL
//*
//* LIST OF ALL THE API TRACES WILL BE WRITTEN
//* EITHER TO JOBLOG
//*    SYSTSPRT DD SYSOUT=A
//* OR TO USER SPECIFIED DATA SET
//*    SYSTSPRT DD DSN=XX.YY
//*
//*
//TRACE   EXEC PGM=IRXJCL,
//        PARM='ATBTRACE LIST'
//SYSTSPRT DD   DSN=JOE.APILIST.DATASET,DISP=OLD
//SYSEXEC  DD   DSN=SYS1.SBLSCLI0,DISP=SHR
/*
Another example contains JCL to submit an ATBTRACE LIST request for active traces of only one trace data set:
//JOEA    JOB MSGLEVEL=(1,1)
//*
//* EXAMPLE OF LISTING TRACES FOR A SINGLE DATA SET
//* ATBTRACE LIST USING IRXJCL.
//*
//* LIST OF ALL THE API TRACES STARTED WITH THE
//* DATA SET SUPPLIED ON ATBTRACE LIST REQUEST
//* WILL BE WRITTEN
//* EITHER TO JOBLOG
//*    SYSTSPRT DD SYSOUT=A
//* OR TO USER SPECIFIED DATA SET
//*    SYSTSPRT DD DSN=XX.YY
//*
//*
//TRACE   EXEC PGM=IRXJCL,
//        PARM='ATBTRACE LIST DS(''JOE.TRACE'')'
//SYSTSPRT DD   DSN=JOE.APILIST.DATASET,DISP=OLD
//SYSEXEC  DD   DSN=SYS1.SBLSCLI0,DISP=SHR
/*