The information in this article applies to:
SUMMARYThere is a sample application named COBLIB in the Software/Data Library that shows how to create an Embedded SQL for COBOL MS-DOS application consisting of an .EXE file linked with COBLIB that calls a .GNT file. This method is very useful for large MS-DOS applications because it lessens the memory required to load and execute the application. MORE INFORMATION
The COBLIB sample file consists of source code for DRIVER.CBL and
SQLDOS.CBL. It also includes COMPILE.CMD, which can be used to create
the application. SQLDOS.CBL is the same program that is included in
the Embedded SQL for COBOL Developer's Kit, except that it was
modified to change all "stop run" statements to "exit program"
statements. This allows control to return to DRIVER.EXE.
to read as follows:
Then, modify the link line in COMPILE.CMD from the following
to the following:
COBLIB can be found in the Software/Data Library by searching on the word COBLIB, the Q number of this article, or S13133. COBLIB was archived using the PKware file-compression utility.
Keywords : kbprg SSrvCobol SSrvProg |
Last Reviewed: March 11, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |