HLASM Toolkit Feature Interactive Debug Facility User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Variable expressions

HLASM Toolkit Feature Interactive Debug Facility User's Guide
GC26-8709-07

Variable expressions are supported for those programs for which the program that generates the extraction file (ASMLANGX) has made variable information available. Variables are displayed in PL/I-like format, with appropriate extensions where needed.

Variable expressions cannot be substituted for Address expressions in commands that expect an address to be supplied. For example, 'BREAK variable-expression' does not evaluate the variable-expression as an address. However, an IDF macro can be written that uses EXTRACT VLOC to determine the address of a variable which is then used as an operand on any IDF command:
/* REXX Variable Breakpoint                         */
/* Supply the variable name to be set breakpoint at */
ARG vbn
  IF vbn ¬= '' THEN DO
    'EXTRACT VLOC ' vbn
    IF LSM.0 = 1 THEN DO
      PARSE VAR LSM.1 . varaddr .
      'BREAK 'varaddr
    END
  END

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014