Loading a LangX COBOL program's debug information

Use the LOADDEBUGDATA (LDD) command to indicate to z/OS® Debugger that a compile unit is a LangX COBOL compile unit and to load the debug information associated with that compile unit. The LDD command can be used only for compile units that are considered disassembly compile units. In the following example, mypgm is the compile unit name of an OS/VS COBOL program: LDD mypgm

z/OS Debugger locates the debug information in a data set with the following name: yourid.EQALANGX(mypgm). If z/OS Debugger finds this data set, you can begin to debug your LangX COBOL program. If z/OS Debugger does not find the data set, enter the SET SOURCE or SET DEFAULT LISTINGS command to indicate to z/OS Debugger where to find the debug information.

Normally, compile units without debug information are not listed when you enter the DESCRIBE CUS or LIST NAMES CUS commands. To include these compile units, enter the SET ASSEMBLER ON command. The next time you enter the DESCRIBE CUS or LIST NAMES CUS command, these compile units are listed.

The EQAOPTS LDDAUTOLANGX command can be used to indicate that LDD will be automatically run on all LangX COBOL compile units.