Question:
Can we run a program in server 1 and update the data to database sitting on server 2?
Answer:
Yes!
If you are accessing an RDBM you can use the iscobol.jdbc.url property to point to the data server.
For instance, your url to connect to a SQL Server database on server 2 might look like this:
iscobol.jdbc.url= jdbc:sqlserver://server2-ip-address:1433;user=sa;password=sa;encrypt=false;DatabaseName=masterIf you are using indexed, sequential or relative files you can use the isCOBOL File Server to access your data files on server 2 from your programs on server 1.
iscserver -fs -hostname server2-ip-address
iscobol.file.prefix=isf://server-ip-address:/path/to/data
Article ID: 333
Created: November 7, 2022
Last Updated: November 7, 2022
Author: Support KB Author
Online URL: https://support.veryant.com/phpkb/article.php?id=333