You can invoke LSE in either of the following two ways:
o To use LSE within interactive SQL, define the logical names
SQL$EDIT and LSE$ENVIRONMENT:
$ DEFINE SQL$EDIT LSE
$ DEFINE LSE$ENVIRONMENT -
_$ SYS$COMMON:[SYSLIB]LSE$SYSTEM_ENVIRONMENT.ENV
Then, when you enter the EDIT statement from within SQL, you
automatically invoke LSE with SQL templates.
o To invoke LSE from DCL level, type LSE followed by the name
of the file you want to edit. The file type determines
the templates that LSE uses. To invoke the templates for
interactive SQL, use the file type of SQL; to invoke the
templates for SQL module language, use the file type of
SQLMOD. For example, you can type the following commands:
$ LSE SAMPLE.SQL
or
$ LSE SAMPLE.SQLMOD