Preparing a LangX COBOL program

This chapter describes how to prepare a LangX COBOL program that you can debug with z/OS® Debugger.

The term LangX COBOL refers to any of the following programs:
  • A program compiled with the IBM® OS/VS COBOL compiler.
  • A program compiled with the IBM VS COBOL II compiler with the NOTEST compiler option.
  • A program compiled with the IBM Enterprise COBOL for z/OS 3, 4, or Start of change6End of change compiler with the NOTEST compiler option.

To prepare a LangX COBOL program, you must do the following steps:

  1. Compile your program with the IBM OS/VS COBOL, the IBM VS COBOL II, or the IBM Enterprise COBOL compiler using the proper options.
  2. Create the EQALANGX file.
  3. Link-edit your program.

As you read through the information in this document, remember that OS/VS COBOL programs are non-Language Environment® programs, even though you might have used Language Environment libraries to link and run your program.

VS COBOL II programs are non-Language Environment programs when you link them with the non-Language Environment library. VS COBOL II programs are Language Environment programs when you link them with the Language Environment library.

Enterprise COBOL programs are always Language Environment programs. Note that COBOL DLL's cannot be debugged as LangX COBOL programs.

Read the information regarding non-Language Environment programs for instructions on how to start z/OS Debugger and debug non-Language Environment COBOL programs, unless information specific to LangX COBOL is provided.