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.

Read syntax diagramSkip visual syntax diagramSETDEFAULTMDBGddnamedsn(,dsn);
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 the SET 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:
    ALLOC DDNAME(ITEM1) DSNAME('SVTRSAMP.TS99992.MYMDBG') SHR
    To specify the location, enter the following command:
    SET DEFAULT MDBG ITEM1;
  • The .mdbg file for load module MYLOAD is in USERIBM.CPGMS.MDBG, which was allocated by using the following command:
    ALLOC FI(CMDBG) DAT('MJONES.OTHER.MDBG' 'USERIBM.CPGMS.MDBG')
    To specify the location, enter the following command:
    SET DEFAULT MDBG CMDBG;

Refer to the following topics for more information related to the material discussed in this topic.