If you include a dummy DD statement CTGDBG in the CTGBATCH job, extra runtime environment and status log messages are generated.
These messages are written to the STDOUT and STDERR destinations as appropriate. This facility can be used as an aid to resolving upgrade problems and also for problem determination.