SCOPE primary command

In an Edit or Browse session, the "scope" is the range over which:
  • Commands operate
  • Segments are retrieved for display

The SCOPE primary command allows you to change the scope to either the current database record or the entire database.

Syntax


1 SCOPE
1! Db
1 Rec
DB
The scope of command operation is the entire database. In multi-segment displays, scrolling takes you to the end of the database.
REC
The scope of command operation is restricted to the current database record. In multi-segment displays, scrolling only takes you to the end of the database record.

When this option is active, only the NEXT primary command and the TWIN primary command issued against a root segment allow you to cross into another database record. For these commands, a pop-up panel is displayed when you reach a database record boundary. The pop-up panel gives you the option of crossing into another database record or canceling the command.

To change the initial scope setting for an Edit or Browse session, select or deselect the Set SCOPE REC option on the Editor Options panel (option 0.5).

Availability