DBEDIT environment variable

Use the DBEDIT environment variable to specify the text editor to use with SQL statements and command files in DB-Access.

If DBEDIT is set, the specified text editor is invoked automatically. If DBEDIT is not, set you are prompted to specify a text editor as the default for the rest of the session.

1  setenv DBEDIT editor
editor
is the name of the text editor you want to use.

For most UNIX™ systems, the default text editor is vi. If you use another text editor, be sure that it creates flat ASCII files. Some word processors in document mode introduce printer control characters that can interfere with the operation of your HCL OneDB™ product.

To specify the EMACS text editor, set DBEDIT with the following command:
setenv DBEDIT emacs