End COBOL Debug (ENDCBLDBG)

This command deactivates the debugging code that is created when the WITH DEBUGGING MODE clause is used in a COBOL program. This command must be entered for each COBOL program for which debugging is to be stopped.

Parameters

Keyword Description Choices Notes
PGM Program Qualified object name Required, Positional 1
Qualifier 1: Program Name
Qualifier 2: Library Name, *LIBL, *CURLIB

Program (PGM)

Specifies the name of the compiled COBOL program and the library where it is located. This is a required parameter. The possible values are:

program-name
Enter the name by which the compiled COBOL program is known.

The possible library values are:

*LIBL
The system searches the library list to find the library where the program is located.
*CURLIB
The current library is used. If you have not assigned a library as the current library, QGPL is used.
library-name
Enter the name of the library where the created program is located.

Examples

Example 1: Deactivate the debugging code for a COBOL program

ENDCBLDBG PGM(MYLIB/XMPLE1)

This command deactivates the debugging code that was created for the COBOL program XMPLE1 in library MYLIB.

Error messages

*ESCAPE Messages

CBE7018
Program &1 not found.
CBE7019
Library &1 not found.
LBE7018
Program &1 not found.
LBE7019
Library &1 not found.