RDBPROD: Defining SQL$EDIT Logical Name (Doc ID 116988.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Rdb Server on OpenVMS - Version 7.0 and later
HP OpenVMS Itanium
HP OpenVMS VAX
HP OpenVMS Alpha

Goal

The EDIT Statement in SQL calls an editor that lets you modify the SQL statements you issue within a terminal session.  SQL supports a variety of editors, some of which are:

  - EDT -- which is the default SQL editor on OpenVMS.
  - TPU -- Text Processing Utility (DECTPU) editors on OpenVMS, such as EVE.
  - LSE -- Language Sensitive Editor

You can use the editor you choose with your usual initialization file to modify your previous SQL statements, construct your next statement or group of statements, or include a file with other statements.

To invoke an editor other than the default, you must define the SQL$EDIT logical name.  The SQL$EDIT logical name specifies the editor that SQL invokes when you issue the EDIT statement in interactive SQL. 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms