HPlogo ALLBASE/SQL Database Administration Guide: HP 9000 Computer Systems > Appendix G SQLGEN

SET EDITOR

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Defines the editor invoked when the EDITOR command is used.

Scope

SQLGEN Only

SQLGEN Syntax

>> SE[T] ED[ITOR]

Description

SET EDITOR is used to define the editor used by the EDITOR command (see Example 1 below). In addition to entering a SET EDITOR command, it is also possible to SET the EDITOR with a command argument when you run SQLGEN. The name of the editor must meet operating system naming conventions and must be preceded by -e on the command line (see example below). The default editor is /usr/bin/vi.

Example 1



   >> set editor

   Current Editor:  /usr/bin/vi



   Enter Editor Name, or '//' to keep current Editor

   Editor >> ex



   Current Editor:  ex



   >>

Example 2



   sqlgen -e ex
Feedback to webmaster