OnDemand User Group

Tips and Tricks => Tips and Tricks => Topic started by: Ed_Arnold on September 01, 2020, 12:11:52 PM

Title: ARSEXOAM Job - How To Trace
Post by: Ed_Arnold on September 01, 2020, 12:11:52 PM
Use the following parameters to collect a trace from an ARSEXOAM job:

//STEP1    EXEC PGM=ARSEXOAM,REGION=0M         
//STEPLIB  DD DISP=SHR,DSN=ARS.xxx.SARSLOAD
//         DD DISP=SHR,DSN=DB2.xxx.SDSNEXIT
//         DD DISP=SHR,DSN=DB2.xxx.SDSNLOAD
//         DD DISP=SHR,DSN=DB2.xxx.SDSNLOD2
//DSNAOINI DD PATH='/etc/ars/Vxxx/cli.ini'     
//SYSPRINT DD SYSOUT=*                         
//SYSOUT   DD SYSOUT=*                         
//ARSPARM  DD *                                                         
  odinstance=ARCHIVE                                                   
  oduser=<USERNAME>                                                         
  oduserpw=<PASSWORD>                                                     
  commitcnt=1                                                           
  unloadmax=1                                                           
  tracefile=/tmp/expir1.trc                                             
  tracecomp=390EXP=15
/*

And then format the trace with arstfmt before attempting to view or sending to support.

Ed