Using commands that are sensitive to the cursor position
Certain commands are sensitive to the position of the cursor.
These commands, called cursor-sensitive commands, include all
those that contain the keyword CURSOR
(AT
CURSOR
, DESCRIBE CURSOR
, FIND CURSOR
, LIST
CURSOR
, SCROLL...CURSOR
, TRIGGER
AT CURSOR
, WINDOW...CURSOR
).
To enter a cursor-sensitive command, type it on the command line, position the cursor at the location in your Source window where you want the command to take effect (for example, at the beginning of a statement or at a verb), and press Enter.
You can also issue cursor-sensitive commands by assigning them to PF keys.
Note: Do not confuse cursor-sensitive commands with the
CURSOR
command,
which returns the cursor to its last saved position.Refer to the following topics for more information related to the material discussed in this topic.
- Related tasks
- Defining PF keys