Defining a symbol for commands or other strings

You can define a symbol to represent a long character string. For example, if you have a long command that you do not want to retype several times, you can use the SET EQUATE command to equate the command to a short symbol. Afterward, z/OS® Debugger treats the symbol as though it were the command. The following examples show various settings for using EQUATEs:
  • SET EQUATE info = "abc, def(h+1)"; Sets the symbol info to the string, "abc, def(h+1)".
  • CLEAR EQUATE (info); Disassociates the symbol and the string. This example clears info.
  • CLEAR EQUATE; If you do not specify what symbol to clear, all symbols created by SET EQUATE are cleared.

If a symbol created by a SET EQUATE command is the same as a keyword or keyword abbreviation in an HLL, the symbol takes precedence. If the symbol is already defined, the new definition replaces the old. Operands of certain commands are for environments other than the standard z/OS Debugger environment, and are not scanned for symbol substitution.