support: Customer Portal
Focused on delivering choice, investment protection and flexibility to organizations with valuable COBOL assets

Veryant Knowledge Base
Home > All Categories > Data Access > COBOL/ESQL and Veryant ESQL Generator > How do I set up isCOBOL ESQL Generator for use with Microsoft SQL Server?
Question Title How do I set up isCOBOL ESQL Generator for use with Microsoft SQL Server?
Here is an example,

  1. Install the Microsoft SQL Server JDBC Driver from
    For example, install this in C:\Program Files\Microsoft SQL Server 2005 JDBC Driver

  2. Set CLASSPATH=.;C:\Program Files\Veryant\isCOBOL2009\lib\iscobol.jar;C:\Program Files\Veryant\isCOBOL2009\lib\isxms.jar;C:\Program Files\Veryant\isCOBOL2009\lib\utility.jar;C:\Program Files\Veryant\isCOBOL2009\lib\edbi.jar;C:\Program Files\Java\jdk1.6.0_15\lib\tools.jar;C:\Program Files\Java\jdk1.6.0_15\jre\lib\rt.jar;C:\Program Files\Microsoft SQL Server 2005 JDBC Driver\sqljdbc_1.2\enu\sqljdbc.jar

    Notice that CLASSPATH contains all of the following:
    C:\Program Files\Veryant\isCOBOL2009\lib\iscobol.jar
    C:\Program Files\Veryant\isCOBOL2009\lib\isxms.jar
    C:\Program Files\Veryant\isCOBOL2009\lib\utility.jar

    C:\Program Files\Veryant\isCOBOL2009\lib\edbi.jar

    C:\Program Files\Java\jdk1.6.0_15\lib\tools.jar
    C:\Program Files\Java\jdk1.6.0_15\jre\lib\rt.jar

    C:\Program Files\Microsoft SQL Server 2005 JDBC Driver\sqljdbc_1.2\enu\sqljdbc.jar
  3. For example, use the following if you want to use ISMIGRATE to migrate a Vision version 3 file to SQL Server.

    (or simply iscobol.jdbc.url=jdbc:sqlserver://localhost;databaseName=mydbname)

    Replace the IP address and port with the correct values for your SQL Server instance.

    Replace mydbname with the correct name for your database. Replace myusername and mypassword with the correct values. Depending on you configuration you may be able to omit these three properties.

  4. Compile your COBOL program that has the SELECT and FD for the file with the -efd compiler option

  5. Run the edbiis utility to create the bridge program

    edbiis -ds filename.xml
    (where filename is the name of your data file)

  6. Compile EDBI-filename.srv (where filename is the name of your data file)

  7. java ISMIGRATE FILENAME (where FILENAME is the name of your file)

    Example output:
    (i) Migrating filename [filename] (i) migration OK (i) 1 read, 1 written, 0 skipped 1 Migrations completed 0 Migrations failed
  8. To change the configuration for your actual application, comment or remove the following lines:
    and add one of the following:


    The FileName part of iscobol.file.index.FileName is the same as the name of the physical file in all lowercase.
Authored by: Veryant Support This question has been viewed 5557 times so far.
Click Here to View all the questions in COBOL/ESQL and Veryant ESQL Generator category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
How helpful was this article to you?
User Comments User Comments Add Comment
There are no user comments for this question. Be the first to post a comment. Click Here
Related Questions Related Questions
  1. Does isCOBOL support PostgreSQL?
  2. How do I use isCOBOL ESQL with Microsoft SQL Server?
  3. How do I migrate a Vision file to an Oracle database table?
  4. How do I connect to a MS SQL 2005 Named Instance?
  5. Set iscobol.jdbc.autocommit=false when using ESQL in TP environments
  6. Where is the Veryant ESQL Generator? What files do I download?
  7. How does isCOBOL limit the size of database query working set for the START statement?
  8. How do I set up isCOBOL ESQL Generator for use with Microsoft SQL Server?
  9. How is READ NEXT implemented in isCOBOL ESQL Generator (EasyDB)?
  10. How do I get isCOBOL to create a database table when iscobol.file_suffix is set?
  11. How is it possible to insert a NULL into an ORACLE TABLE when host variable has been initialized?
Article Information Additional Information
Article Number: 61
Created: 2009-09-02 11:38 AM
Rating: 1 Star
Article Options Article Options
Print Question Print this Question
Email Question Email Question to Friend
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
Bookmark Article
Subscribe to Article Subscribe to Article
Search Knowledge Base Search Knowledge Base


© Veryant - All Rights Reserved
Veryant and isCOBOL are trademarks or registered marks of Veryant in the United States and other countries. All other marks are the property of their respective owners.