Add Items to the Watch Data View

You can add keywords, memory expressions, or variables from COBOL, Assembler, or PL/I program listings to the Watch Data view.

To add variables from the Outline view to the Watch Data view

  1. Select Window, Show Views, Outline to display the Outline view.
  2. Highlight an active program listing in the Program Listing area. The Outline view refreshes to show the contents of the program listing.
  3. Expand a label in the Outline view.

    The Outline view displays the list of items under the selected label.

  4. Select the variable that you want to add to the Watch Data view in the Outline view.
  5. Right-click and select Add to Watch Data.

    The Watch Data view refreshes to display the new variable.

    Note: If you have selected a PL/I-based variable then the PL/I Locator Qualifier Selection dialog opens prompting you to enter the locator qualifier. For more information, see Specify PL/I Locator Qualifiers for based Variables.

To add variables from the Program Listing area to the Watch Data view

  1. Locate and select the variable in the Program Listing area.
  2. Right-click and select Add to Watch Data.

    The Watch Data view refreshes to display the new variable.

    Note: If you have selected a PL/I-based variable then the PL/I Locator Qualifier Selection dialog opens prompting you to enter the locator qualifier. For more information, see Specify PL/I Locator Qualifiers for based Variables.

To add keywords from the Memory Expression Builder

  1. Click the Memory Expression Builder icon A toolbar icon to view the Memory Expression dialog--ICO in the Watch Data view.

    The Memory Expression Builder dialog opens.

  2. Select a keyword from the drop-down list in the Keyword field and click OK.

    The Watch Data view refreshes to display the new keyword.

    Note: If the keyword has an associated DSECT, then the DSECT will be posted in the same way as a variable is posted in the Watch Data view. If there is no DSECT, then the keyword will be posted as an expression.

To add expressions from the Memory Dump dialog

  1. Click the Memory Expression Builder icon A toolbar icon to view the Memory Expression dialog--ICO in the Watch Data view.

    The Memory Expression Builder dialog opens.

  2. Fetch memory values using one of the following methods:
  3. Click Post Request.

    The Post Request dialog opens.

  4. Type a name for the expression, and click OK to post it to the Watch Data view.
  5. Click OK to exit the Memory Dump dialog.

The Watch Data view refreshes to display the new expression.


Copyright © 2016 CA. All rights reserved.