Specifying a new base address

You can use any of the following methods to specify a new base address:

  • Enter the MEMORY command on the command line
  • If you defined a PF key as the MEMORY command, place the cursor in the Source window under a variable name and press that PF key.
  • Type over an existing address in the Memory window in one of the following locations:
    • Information area: Type over the current base address.
    • Memory dump area: Type over an address in the address column.
  • Use the G command in the Memory window in one of the following locations:
    • Information area: Enter the G command over an entry in the history area.
    • Memory dump area: Enter the G command over an address in the address column or hexadecimal data columns.

      If you enter the G command in the hexadecimal data columns, verify that the address is completely in one column and does not span across columns. For example, in the following screen, the hexadecimal addresses X'329E6470' appears in two locations:

      • In the second row, it spans the first and second column.
      • In the fifth row, it is contained in the third column.
       MEMORY---1----+----2----+----3----+----4----+----5----+----6----+----7----+- 
       History:  24702630         2505A000 
       
       Base address:  265B1018  Amode: 31
       +00000 265B1018   40404040 40404040 40404040 40404040  |                   | 
       +00010 265B1028   4040329E 64704040 40404040 40404040  |  .. ..            | 
       +00020 265B1038   40404040 40404040 40404040 40404040  |                   | 
       +00030 265B1048   40404040 40404040 40404040 40404040  |                   | 
       +00040 265B1058   40404040 40404040 329E6470 40404040  |          ....     | 
       +00050 265B1068   40404040 40404040 40404040 40404040  |                   | 
       +00060 265B1078   40404040 40404040 40404040 40404040  |                   | 
       +00070 265B1088   40404040 40404040 40404040 40404040  |                   | 
      If you enter the G command over the second row, first column, z/OS® Debugger tries to set the base address to X'4040329E'. If you enter the G command over the second row, second column, z/OS Debugger tries to set the base address to X'64704040'. If you want to set the base address to X'329E6470', do one of the following options:
      • Type the G command over the address in the fifth row, third column.
      • Enter X'329E6470' in the Base address field.
      • Type in X'329E6470' in an address column, without spanning two columns, and then press Enter.