You can define a symbol to help you invoke the SQL precompiler:
$ SQLPRE == "$SQL$PRE"
Because the SQL precompiler requires a language qualifier, you
might want to define a particular language so that you can invoke
the command on one line:
$ SADA == "$SQL$PRE/ADA"
$ SADA SQL_DYNAMIC
By defining symbols, you can invoke the SQL precompiler with or
without a file specification for a host language program file:
o If you invoke the SQL precompiler without an input file
specification for a host language program file, the
precompiler prompts you for it. For example:
$ SQLPRE
INPUT FILE> pre-host-file-spec
o If you invoke the SQL precompiler with a host language program
file as part of the DCL command line, SQL starts processing
your file immediately after you press the Return key. For
example:
$ SADA pre-host-file-spec pre-qualifiers
Whichever method you choose to invoke the precompiler, you have
the option to specify a wide range of qualifiers that control
how the SQL precompiler processes the module file. The syntax
diagrams show the format for the qualifiers that you can include
with the host language program file specification.
Additional Information:
explode
extract