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 connect to a MS SQL 2005 Named Instance?
Question Title How do I connect to a MS SQL 2005 Named Instance?
Question: 

What should I do if I have more than one MS SQL 2005 Server instance in the same computer/server, and I want to connect to any of its named instances and not to the default one?

Answer: 

Make sure you have followed the general instructions on the article called "How do I set up isCOBOL ESQL Generator for use with Microsoft SQL Server? " before applying the specifics described below. 

Use the "SQL Server Configuration Manager" software that comes with your MS SQL 2005 product and follow these steps: 

1) Click SQL Server 2005 Network Configuration

2) Double-click “Protocols for myNamedInstance” 

3) Enable TCP/IP protocol (right-click TCP/IP, enable) 

4) Double-click TCP/IP (to view its properties) 

5) Click IP Addresses tab 

6) Go to IPAll section, change the TCP Port to 1435 (or any other available TCP/IP port) 

7) Click OK to save configuration 

Change the jdbc.url setting in the iscobol.properties as follows: 
  iscobol.jdbc.url=jdbc:sqlserver://computername:1435;user=sa;password=mysapassword;DatabaseName=mydbname 
Authored by: Veryant Support This question has been viewed 4837 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 set up isCOBOL ESQL Generator for use with Microsoft SQL Server?
  3. How do I use isCOBOL ESQL with Microsoft SQL Server?
  4. How do I migrate a Vision file to an Oracle database table?
  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: 109
Created: 2009-09-30 11:58 AM
Rating: No Rating
 
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.