Previous Topic: Using Top-line CommandsNext Topic: APPLY


Summary of Top-line Commands

The following table gives short descriptions of the top-line commands.

Command

Description

APPLY

Updates the screen and work file but does not execute the statements in the OCF work file or execute the compiler.

CLEAR

Deletes all data contained in the work file.

DISPLAY LINE

Displays a page of the work file, starting with the specified line.

DISPLAY PAGE

Displays the requested page from the work file.

END

Immediately terminates the current session.

ENTER=APPLY

ENTER=UPDATE

Sets the ENTER key to execute either the APPLY or the UPDATE command.

ESCAPE

Establishes the escape character that must be used with line editing commands.

FIND

Locates a character string by searching forward or backward in the work file.

HELP

Lists each top-line command and the associated PF key currently assigned to execute that command.

INSERT

Inserts lines into the work file after the line at which the cursor is positioned.

PRINT

Prints the contents of the work file.

REPEAT

Repeats the line at which the cursor is positioned.

RESHOW

Cancels all changes made to the current screen and redisplays the previous screen.

SUSPEND

Suspends the current session and returns control to the host TP monitor.

SWAP

Restores the screen and the work file to their condition prior to the last execution.

SWITCH (only if the development tool is executing under the control of the Transfer Control Facility)

Suspends the session and transfers control to the specified online CA IDMS component or to the Selection Screen of the Transfer Control Facility.

UPDATE

Updates the work file and executes the statements in the OCF work file or submits the work file to the compiler.

The rest of this chapter discusses each top-line command, its purpose, and its syntax.