3. Embedded SQL for COBOL : Preprocessor Operation : The COBOL Compiler--VMS : How Embedded SQL Programs are Linked without Shared Libraries
 
Share this page                  
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. The libraries must be specified in the order given in the options file.
The following example demonstrates the link command for an embedded SQL program called dbentry, which has been preprocessed and compiled:
link dbentry,-
ii_system:[ingres.files]esql.noshare/opt