Setting ESP TRACE Facility in batch mode.
search cancel

Setting ESP TRACE Facility in batch mode.

book

Article ID: 256744

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

The TRACE initialization parameter activates the trace facility and allows trace options to be set. TRACE is used for diagnostic purposes.
 

Environment

 Workload Automation ESP Edition

Cause

The TRACE initialization parameter is useful as a problem-solving tool. On occasion, Broadcom Support will ask you to set a specific trace record ID to access information that will help with troubleshooting. 

Resolution

//***************************************************************** 
//* ISSUE OPER COMMAND TO DEFINE TRACE FILES                      * 
//***************************************************************** 
//STEP30 EXEC PGM=ESP,REGION=4M,PARM='SUBSYS(????)'                 
//STEPLIB DD DSN=your.ESP.CD7YLOAD,DISP=SHR                 
//SYSPRINT DD SYSOUT=*                                              
//SYSIN    DD *                                                     
OPER TRACEDEF DSN('ESP.TRACE1', -                  
                  'ESP.TRACE2')                    
//***************************************************************** 
//* ISSUE OPER COMMAND TO DEFINE TRACE FILES                      * 
//***************************************************************** 
//STEP40  EXEC PGM=ESP,REGION=4M,PARM='SUBSYS(????)'                
//STEPLIB DD DSN=your.ESP.CD7YLOAD,DISP=SHR                 
//SYSPRINT DD SYSOUT=*                                              
//SYSIN    DD *                                                     
OPER TRACE SET(600:607)                                                 
//***************************************************************** 
//* ISSUE OPER COMMAND TO DEFINE TRACE FILES                      
//***************************************************************** 
//STEP050 EXEC PGM=ESP,REGION=4M,PARM='SUBSYS(????)'                
//STEPLIB DD DSN=your.ESP.CD7YLOAD,DISP=SHR                 
//SYSPRINT DD SYSOUT=*                                              
//SYSIN    DD *                                                     
OPER TRACE STATUS   

Also the TRACE will print out records and it will cause some increase in CPU but should not be noticeable. Just do not want to trace data indefinitely.

Additional Information

https://techdocs.broadcom.com/us/en/ca-mainframe-software/automation/ca-workload-automation-esp-edition/12-0/reference/initialization-parameters/trace-activate-trace-mechanism.html

https://techdocs.broadcom.com/us/en/ca-mainframe-software/automation/ca-workload-automation-esp-edition/12-0/reference/initialization-parameters/trackdef-specify-tracking-definitions.html

https://techdocs.broadcom.com/us/en/ca-mainframe-software/automation/ca-workload-automation-esp-edition/12-0/reference/commands/traceprt-command-print-trace-data.html