VS COBOL II programs

If you are currently using the TEST option to compile your programs, consider using NOTEST. Using NOTEST allows you to take advantage of z/OS® Debugger functionality that is not available when compiling with the TEST option. Examples of z/OS® Debugger functions that are available when compiling with the NOTEST option include the automonitor feature and using AT ENTRY program name breakpoints. Compiling with NOTEST also allows you to generate a module that can be debugged but does not incur extra overhead when running without the debugger.

The following table shows various compiler options that can be used to prepare VS COBOL II programs for use with the ADFz family of products (z/OS® Debugger, Fault Analyzer for z/OS® and Application Performance Analyzer for z/OS®). The methods suggested in the following table indicate whether the load module produced is suitable for a production environment. Load modules suitable for a production environment have no significant runtime overhead.

Table 1. Examples of compiler options and source information files that are supported by ADFz products for VS COBOL II

This table has 6 columns. The second cell of the second row spans 2 rows. The fourth cell of the final row spans 3 columns.

Compiler options Source information file type produced Is the load module production ready? Options supported and suggested for z/OS® Debugger Options supported and suggested for Fault Analyzer Options supported and suggested for APA
NOTEST, LIST, MAP, SOURCE, XREF, NONUMBER, NOOFFSET Compiler listing Yes N/A Supported Supported
NOTEST, LIST, MAP, SOURCE, XREF, NUMBER Yes N/A Supported N/A
NOTEST, LIST, MAP, NOOPT, SOURCE, XREF, NONUMBER LANGX file Yes Suggested for production and test