Using AOCTRACE
You can use the AOCTRACE command to enable or disable the automation debugging facility, either globally or for specific clists (REXX routines).
You can enable tracing for a particular message ID by
issuing AOCTRACE at the command line with the MSG/id option,
for example:
AOCTRACE MSG/AOF313I ONYou can find the syntax of the AOCTRACE command and additional information in IBM Z® System Automation Customizing and Programming.
Information about using AOCTRACE to trace user-written automation procedures is provided in IBM Z System Automation Customizing and Programming.
For more information about trace settings, see TRACE in TSO/E REXX/MVS Reference.