Running your own applications
You can build and run Db2® applications with an IBM® Data Server Client installed.
Various types of applications can access Db2 databases:
- Applications developed using the IBM data server client that include embedded SQL, APIs, stored procedures, user-defined functions or calls to the CLI
- ODBC applications
- Java™ applications using the JDBC or SQLJ interfaces
- PHP applications
- Ruby or Ruby on Rails applications
- Perl applications
- Python applications
On Windows operating systems, the following routines or
objects can also access Db2 databases:
- ActiveX Data Objects (ADO) implemented in Microsoft Visual Basic and Microsoft Visual C++
- Object Linking and Embedding (OLE) Automation Routines (UDFs and Stored Procedures)
- Object Linking and Embedding Database (OLE DB) table functions
To run an application:
- Ensure the server is configured and running.
- On the Db2 server, ensure that the database manager is started on the database server to which the application program is connecting. If it is not, you must issue the db2start command at the server before starting the application.
- Ensure that you can connect to the database that the application uses.
- Bind the necessary files to support the database application driver being used.
- Run the application program.