TEST—WHERE subcommand operands

address
You can specify address as:
  • An absolute address
  • A symbolic address
  • A relative address
  • An indirect address
  • An address expression
  • A module name and entry name (separated by a period)
  • An entry name (preceded by a period).

If you specify WHERE without an address, the address of the next executable instruction, the related load module and CSECT names, and the hexadecimal offset are displayed.

module_name
specifies the name by which a load module is known or the name of an object module. The output of the WHERE subcommand is the module name, the CSECT name, the offset within the CSECT, the absolute address, and the address of the TCB. If only the module name was specified, the only output is the absolute address of the module and the address of the TCB for the task under which the module is found.

If the specified address is not within the extent of any user program, only the absolute address is returned. Along with the absolute address, a message will be returned stating that the specified address is not within the program extent. If no operands are specified, the absolute address returned is the address of the next executable instruction.