/sys$common/syshlp/DBG$HELP.HLB  —  DEBUG  SEARCH  Examples
    1.DBG> SEARCH/STRING/ALL 40:50 D
      module COBOLTEST
          40: 02      D2N     COMP-2 VALUE -234560000000.
          41: 02      D       COMP-2 VALUE  222222.33.
          42: 02      DN      COMP-2 VALUE -222222.333333.
          47: 02      DR0     COMP-2 VALUE  0.1.
          48: 02      DR5     COMP-2 VALUE  0.000001.
          49: 02      DR10    COMP-2 VALUE  0.00000000001.
          50: 02      DR15    COMP-2 VALUE  0.0000000000000001.
      DBG>

      This command searches for all occurrences of the letter D in
      lines 40 to 50 of the module COBOLTEST, the module that is in
      the current scope.

    2.DBG> SEARCH/IDENTIFIER/ALL 40:50 D
      module COBOLTEST
          41: 02      D       COMP-2 VALUE  222222.33.
      DBG>

      This command searches for all occurrences of the letter D in
      lines 40 to 50 of the module COBOLTEST. The debugger displays
      the only line where the letter D (the search string) is not
      bounded on either side by a character that can be part of an
      identifier in the current language.

    3.DBG> SEARCH/NEXT 40:50 D
      module COBOLTEST
          40: 02      D2N     COMP-2 VALUE -234560000000.
      DBG>

      This command searches for the next occurrence of the letter D
      in lines 40 to 50 of the module COBOLTEST.

    4.DBG> SEARCH/NEXT
      module COBOLTEST
          41: 02      D       COMP-2 VALUE  222222.33.
      DBG>

      This command searches for the next occurrence of the letter D.
      The debugger assumes D to be the search string because D was
      the last one entered and no other search string was specified.

    5.DBG> SEARCH 43 D
      module COBOLTEST
          47: 02      DR0     COMP-2 VALUE  0.1.
      DBG>

      This command searches for the next occurrence (by default) of
      the letter D, starting with line 43.
Close Help