TRACE records the following information at program execution time:
Results of executed statements
Line number and position within line, of the statement causing abnormal termination.
Program name being executed.
Messages output during execution.
TRACE lets you check where abnormal termination is happening and the path taken to reach that point.
TRACE is enabled by specifying an option at compile time and providing specific details in environment variables at run time.