Compiling your program without using Debug Tool Utilities

Create or modify JCL so that it includes all the statements you need to compile or assemble your programs, then properly link any libraries. The following list describes the changes you need to make:

Table 1. Files that you need to save when compiling with a particular compiler option or suboption
Programming language Compiler suboption or assembler option File you need to save
COBOL
  SEPARATE separate debug file
  any other listing2
  NOTEST listing2
LangX COBOL
 

Compiling your OS/VS COBOL program

Compiling your VS COBOL II program

Compiling your Enterprise COBOL program

EQALANGX
  any other listing file containing pseudo-assembler code
PL/I
  SEPARATE separate debug file
  any other (pre-Enterprise PL/I) listing file
  any other (Enterprise PL/I) source file that was used as input to the compiler
  NOTEST listing file containing pseudo-assembler code
C/C++
  DEBUG(DWARF) the .dbg file and source file

If you are using an .mdbg file that stores the source file, then save that .mdbg file.

  TEST source file that was used as input to the compiler
  NOTEST listing file containing pseudo-assembler code
assembler
  ADATA EQALANGX
  no debug information saved listing file containing pseudo-assembler code

After you complete this task, see Update your library and promotion process.

1 In situations where you can specify environment variables, you can set the environment variable EQA_USE_MDBG to YES or NO, which overrides any setting (including the default setting) of the EQAOPTS MDBG command.
2 It is except for Enterprise COBOL for z/OS® Version 5.