SET DEFAULT MDBG command
Defines a default partitioned data set DD name or DS name that z/OS® Debugger searches through to locate the .mdbg files. You create .mdbg files with the dbgld command or the CDADBGLD utility.
- ddname
- Specifies a valid z/OS DD name. If the operand is less than nine characters long and does not contain a period, z/OS Debugger interprets it as a DD name.
- dsn
- Specifies a valid, fully-qualified z/OS partitioned data set name.
- ( dsn, dsn, …)
- Specifies a list of valid z/OS partitioned data set names.
Usage notes
- Before you can use this command, you or your site must specify
YES for the EQAOPTS
MDBG
command, as described in EQAOPTS commands. In environments that support environment variables, you can use the EQA_USE_MDBG environment variable to override this option for a specific debugging session. - You can use this command in remote debug mode.
- If you do not specify a ddname or dsn, z/OS Debugger clears any previous default mdbg setting.
- If the data set name is too long to be typed on one line, suffix it with a trailing hyphen.
- The
SET MDBG
command has a higher precedence than theSET DEFAULT MDBG
command. - If you are debugging in a CICS® or UNIX System Services environment, you cannot use the ddname parameter.
Examples
- Indicate that the default .mdbg file is allocated to DS name
SVTRSAMP.TS99992.MYMDBG
.SET DEFAULT MDBG SVTRSAMP.TS99992.MYMDBG;
- The .mdbg file for the DLL MYPROG is in
SVTRSAMP.TS99992.MYMDBG
, which was allocated by using the following command:
To specify the location, enter the following command:ALLOC DDNAME(ITEM1) DSNAME('SVTRSAMP.TS99992.MYMDBG') SHR
SET DEFAULT MDBG ITEM1;
- The .mdbg file for load module MYLOAD is in
USERIBM.CPGMS.MDBG
, which was allocated by using the following command:
To specify the location, enter the following command:ALLOC FI(CMDBG) DAT('MJONES.OTHER.MDBG' 'USERIBM.CPGMS.MDBG')
SET DEFAULT MDBG CMDBG;
Refer to the following topics for more information related to the material discussed in this topic.
- Related tasks
- SET SOURCE command
- SET DEFAULT DBG command
- SET MDBG command
- z/OS Debugger commands supported in remote debug mode
- Specifying the location of source, listing, or separate debug file in remote debug mode by using environment variables
How does z/OS Debugger locate source, listing, or separate debug files?
in the IBM® z/OS Debugger User's Guide.Specifying whether z/OS Debugger searches for .mdbg files
in the IBM z/OS Debugger Customization Guide