Debugging capabilities

IMS Batch Terminal Simulator integrates with IBM® Debug Tool for z/OS®, IBM z/OS Debugger, and COBOL interactive debug. It also provides debugging capabilities through IMS Batch Terminal Simulator simulator commands.

When you find application logic errors in unit testing, you can select from the following debugging methods.

Debugging with IBM Debug Tool for z/OS or IBM z/OS Debugger

By calling IBM Debug Tool for z/OS or IBM z/OS Debugger from IMS Batch Terminal Simulator, you can interactively test applications while using the various debugging functions that are provided by the debug tool.

Related reading: For more information about using these debug tools in IMS Batch Terminal Simulator jobs, see Support for IBM Debug Tool for z/OS and IBM z/OS Debugger.

Debugging with simulator commands

By specifying the simulator commands that are provided by IMS Batch Terminal Simulator, you can run path tests as batch jobs without modifying your applications or compiling your applications with specific options.

Related reading: See the following topics for instructions to debug your applications by using simulator commands:

Debugging with TSO TEST command

By using the TSO TEST command with IMS Batch Terminal Simulator, you can interactively run path tests without modifying your applications or compiling your applications with specific options.

In addition to the typical path tests, you can use the TSO TEST command following an abnormal termination in the program to determine where the termination occurred and the environment at the time of the termination (for example, storage and register contents).

Related reading: See Debugging with the TSO TEST monitor for more information about using the TSO TEST command.

Debugging with VS COBOL II interactive debug

The VS COBOL II interactive debug facility is a command processing program that operates under control of TSO. It provides a facility that allows COBOL programmers to debug an application program while it is being processed.

Related reading: See the following topics for instructions to debug your applications by using the VS COBOL II interactive debug facility: