The CDADBGLD utility is the MVS™ batch equivalent of the dbgld command. You can use this utility if you do not have z/OS® UNIX System Services.
The compiler creates a debug side file for each compilation unit if the DEBUG compiler option is specified. The path names or data set names of all the debug side files are then stored in the module, which is an executable file or a DLL. The CDADBGLD utility opens all of the debug side files associated with the module and stores all of the functions, global variables, external types, and source files in a module map. In addition, the contents of all of the debug side files are packaged together into this same module map. Debuggers that support demand load can use the side file for faster access to debug information.
The CDADBGLD utility only needs to be executed once after binding. The performance of the debugger, especially the start time, will be significantly improved if the CDADBGLD utility is executed before the execution of a debugger. For more information on using the module map to improve debugger performance, see z/OS Common Debug Architecture User's Guide. For information on the CDADBGLD cataloged procedure, which executes the CDADBGLD utility, see Cataloged procedures and REXX EXECs.
//CDADBGLD EXEC CDADBGLD,
// INFILE='MYHLQ.MOD(TEST)',
// CPARM='VERSION',
// OUTFILE='MYHLQ.MDBG(TEST),DISP=SHR'