End COBOL Debug (ENDCBLDBG)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

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.

Top

Parameters

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

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.
Top

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.

Top

Error messages

*ESCAPE Messages

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