FOLLOW

Makes a Dump window follow the contents of a register or storage location as program execution progresses.

Read syntax diagramSkip visual syntax diagramFOLlowwindowaddressOFF
window
A Dump window. Select the window by a Window Specification or by placing the cursor in the window. If omitted and the cursor is not in a Dump window, uses the first Dump window.
address
The address to be followed. If an expression, the expression is used to provide the address.

If omitted, the address is determined from the cursor position. If it is not possible to determine an address from the cursor position (for example, when the cursor is on the command line and the command line is empty), the current follow state of the selected window is displayed.

If R0 to R15, the indicated register's contents determine the starting DUMP address as target program execution progresses.

The argument R1 means follow the contents of R1, but the argument 0(R1) means follow the contents of the storage area now pointed to by R1. If in AMODE64, this is an 8-byte storage area, otherwise it is a 4-byte storage area.

If no register is specified, is the address of a storage area whose contents are to determine the area to be shown in the selected Dump window as program execution progresses. This includes addresses specified by means of cursor position. The storage area need not be aligned.

OFF
Following is turned off for the window. The window contents change to reflect any change in the contents of the current address.

Each open Dump window can have its own follow address or none at all.

Return codes

0
Operation successful
5
Syntax or other error in expression
6
Specified address exceeds the current virtual memory size