Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: IvanIf your ODBC data source admin doesnt show DB2 check if you have installed on your computer the drivers , you can search for those as "DB2 odbc drivers" for the DB2 version you have installed.
you can also connect with JDBC, I pasted below an example (you can copy the text below and paste it on BRE
the dburl and DbDriver may vary depending of your DB2 version) in this case you also need the DB2 JDBC drivers
installed on your server if you connecting through LAE enterprise environment or on your desktop if you running the desktop at C:\Program Files (x86)\Lavastorm\LAE6.1\lib\java\ext
JDBC node example to connect to a DB2 database.
node:JDBC_Query_DB2
bretype:core::JDBC Query
editor:Label=JDBC Query DB2
editor:sortkey=565dc11302d24c74
output:@439f475045133ba6/=
prop:DbDriver=com.ibm.db2.jcc.DB2Driver
encrypted:simple=nFZhmIpYZmvjMtRGF8lNF91Rslivvj4=
prop:DbUrl=jdbc:db2://192.168.1.104:50000/db2inst1:retrieveMessagesFromServerOnGetMessage=tr ue;
prop:DbUser=db2inst1
prop:SqlQuery=<<EOX
select * from SYSIBM.SYSVIEWS
EOX
editor:XY=330,60
end:JDBC_Query_DB2