Execute a DB2 command from JAVA.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • samarthur
    New Member
    • Feb 2010
    • 1

    #1

    Execute a DB2 command from JAVA.

    Hi all,

    I need to invoke a DB2 stored procedure from Java. I thought of using the DB2 command 'db2 -td@ -vf [filename].sql', will this command work even if my DB2 sever runs on a Mainframe environment or its there some thing that needs to be done extra?

    Could you please help me out in this regard?
Working...