In the documentation, we see the following reference to DB2:
DB2 functions let you automate various database operations in Javelin flows.
Execute Query: Executes a query against an IBM DB2 database. The query can be either Select, Insert, Update, or Delete. For Select queries, output rows are assigned to an output variable which is set in the OutDataTable property.
Note: You must have IBM DB2.NET Data Provider version 18.104.22.168 installed for this activity to work.
Where can we get these libraries from IBM?