How to Link Embedded SQL Programs 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