Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  DBConnection with ip:port

    Posted 09/05/08 03:57 PM

    Originally posted by: SystemAdmin


    [aldreas said:]

    Hi all,

    I'm using Ilog OPL Development Studio IDE 6.0.

    I have 2 files in my project: "myprogram.mod" and "myprogram.dat"

    I have an Oracle database and I use the following line for connection: DBConnection db("oracle9","myuser/mypass@seedname");

    It works all fine with my oracle database in the same computer and listening the default port (1521), but now I need to connect to a database in another server.

    Is there any way for setting ip and port in the DBConnection command??

    Thanks in advance

              David
    #DecisionOptimization
    #OPLusingCPOptimizer


  • 2.  Re: DBConnection with ip:port

    Posted 09/10/08 03:44 PM

    Originally posted by: SystemAdmin


    [aldreas said:]

    Finally I add to the tsnames.ora an entry for the new connection and use the new seed. All works fine
    #DecisionOptimization
    #OPLusingCPOptimizer