empesql (for Win32)
EMPESQL(1) EMPESQL(1)
NAME
empesql - precompiles C programs for EMPRESS Embedded Query Language
commands
SYNOPSIS
empesql {[-psmdb database]} {[-psmdbs database [database...] --]}
infile.c
[outfile.c]
empesql {[-psmdb database]} {[-psmdbs database [database...] --]}
infile.pc
[outfile.c]
empesql infile.c [outfile.c]
DESCRIPTION
Empesql allows Empress users to issue SQL commands from within their C
program. This is accomplished through calls to the Empress mx rou-
tines. On precompilation, SQL commands embedded in your program are
replaced with calls to supporting functions. In the case of C pro-
grams, if no names are specified outfile.c will default to mpout.c.
In order to find the PSM routine name in the corresponding database
when the program is precompiled, the -psmdb option or -psmdbs must be
used and the PSM routine name must be found in the listed database(s).
Otherwise, error message will occur.
The -psmdb option allows only one database name to be specified.
The -psmdbs option can be used to specify a list of database names.
The database names are passed as a list of arguments and terminated
by "--". The database name may contain spaces or special characters.
In the case of -psmdbs option, quotes (") are needed for these compex
database names. Both option can be used repeatedly.
FILES
SEE ALSO
empcc(1), empecc(1)
Empress Host Language: The SQL Precompiler
DIAGNOSTICS
HISTORY
Written by Empress Software Inc.. All material is copyrighted and
licensed. Use on non-licensed CPUs is prohibited.
Empress 8.62 Empress Software Inc. EMPESQL(1)