COBOL & Mysql
cobol now easily accessing
HOME
Now it became easy to access Mysql files from MicroFocus COBOL programs.
Just change a configuration, and your program will be able to access both, MF files, as well as tables in MYSQL, transparently to user and developer of the project.
Don’t need to alter your program, nor losing all investments made so far, it is fast and easy to migrate to database.
Quickly and easily, you can enjoy the benefits of databases, integrating your application with a multitude of new features that are becoming available all the time.
Forget about former limitations. No slavery any more.

From now on you can have part of your application developed in COBOL, and additional modules in Java, C #, Visual Basic, HTML, Ajax etc ... interacting and collaborating with your application in a natural and transparent way, making your product robust, versatile, safe, among many other advantages.
You, who might be considering migrating to another platform, and always faced the impossibility of having to re-develop every product before, and then to migrate, consider your troubles as solved.
With EXTMYSQL you just continue operating your system as before and, then, start slowly developing the new features on the new platform, replacing the old routines as much and as far as possible until the migration is complete.
Or if you want to enjoy the benefits of the database, and do not want or have the time to study and know the background of this new tool all the way, even so EXTMYSQL is also useful, because as your programs need not be changed, you will interact with the data bank using traditional commands READ, WRITE, REWRITE, DELETE, START, OPEN, CLOSE etc... exactly as you always did.
HeidiSql

Download - Program source for performance testing, with more than 800,000 records.
We encourage you to make changes and new tests, but also demonstrates the use of additional resources as LIKE "%%" combined with COBOL.
File to be downloaded with 12,000 Kb.
You should compile with your COBOL, any questions, please contact us.
Unzip the downloaded file, run the MYSQL script, compile the source program DEMOCEP.CBL, and do all the tests you want to evaluate our proposal.
Do nothing without a backup of all content from your computer, or the guarantee of being able to return to the situation prior to any procedure to be adopted.
We are not responsible for any damage or injury which might occur by chance.

This feature was tested using Micro Focus Cobol Version 4.0.38, NetExpress 3.0 and 3.1, running on Windows, other versions on request and Mysql 5.1.
Presently it is already running on LINUX.

See also:
Micro Focus, Cobol manufacturer used.
Mysql, maker of the database used.

Known limitations:

Redefinition of fields in COBOL is treated in Mysql as a single field, in this case it is recommended to change the program.

START command on tables with many records, can become a slow.

Problem can be bypassed, using a routine that allows reversing the sequence of filtering.

Using COBOL, filtering of records is done immediately after the reading of the record, in SQL database, the filtering is done by the server, returning only the desired records, and thereby reducing the volume of data traveling on the network.

Added features that help overcome this deficiency : MontaWhere and IgualaCmp.
These two routines are documented on this site right below, and serve several other purposes, significantly expanding the resources available to the COBOL programmer.

READ NEXT, READ PREVIOUS followed without a START command between one sequence and another.
Though it works, because of the way Mysql treats its accesses, this practice reduces the speed of the application mainlyn bases with many records.

To circumvent and offset this limitation, a possibility was added to combine the use of resources of the database with the program in COBOL.
This can be implemented in an extremely simple and easy way by allowing access of commands type LIKE "%%" of the database.

For further information please contact us by email pudler@mercosoft.com.br referring to subject "COBOL & MYSQL"
or by phone: 5551 96031151

Franco Stringari Pudler, email franco@imediata.com.br