How Embedded SQL Programs are Linked Without Shared Libraries
While the use of shared libraries in linking embedded SQL programs is recommended for optimal performance and ease of maintenance, non-shared versions of the libraries have been included in case you require them. Non-shared libraries required by embedded SQL are listed in the esql.noshare options file. The options file must be included in your link command after all user modules. Libraries must be specified in the order given in the options file.
The following example demonstrates the link command of an embedded SQL program called dbentry that has been preprocessed and compiled:
$link dbentry,-
ii_system:[ingres.files]esql.noshare/opt