Syntax options:
PROTOTYPES[=prototypesfile]
NOPROTOTYPES
The PROTOTYPES qualifier uses the LANGUAGE clause from the module
to generate routine declarations for the following languages: C
(C++), Pascal, and BLISS. The qualifier is ignored for all other
language values.
The prototypes file specification defaults to the same device,
directory, and file name as the module language source. The file
types default to .h for C, .PAS for Pascal, and .REQ for BLISS.
For the BLISS language, the PROTOTYPES qualifier generates
EXTERNAL ROUTINE declarations for each SQL module language
procedure.
For the Pascal language, the generated external procedure
declarations are suitable for inclusion in either a Pascal
program or module. Structured types (RECORD ... END RECORD),
SQLDA, and SQLCA used by the SQL module language procedures are
declared as UNSAFE arrays of bytes to simplify passing structures
via these external definitions. However, care must be taken as
this form of declaration disables the strong typing checks in
Pascal.
The output for the C language includes pre-processor directives
to conditionally include C++ "extern C" syntax and also allow
multiple #include references.
The default setting is NOPROTOTYPES.