Hi Lorenz, you posted your question in the Db2 z/OS forum which is actually a different flavor of Db2 running on the mainframe platform. But anyway, perhaps we can figure this out here. Just for my understanding:
You installed the Db2 11.5.8 Community Edition on your Windows PC and assigned user "admin" to the Db2 services, right? Does "admin" have administrator permissions on your Windows PC?
Your ODBC application is supposed to run on your Windows PC and should connect to the local Db2 instance. Did you create a database named "BLUDB" on your Db2 server? Can you open a Db2 Command Window (Windows button, then "IBM DB2 DB2COPY1 (Default)", then "DB2 Command Window") and enter:
db2 list db directory
This should show all available databases. If BLUDB is listed, then open MS ODBC Administrator (run "odbcad32" from command window) and check whether BLUDB is registered as either a System or User DSN. If it is listed, run a connection test from the ODBC Administrator window and see whether that works.
If it is not listed, then run
db2 catalog system odbc data source BLUDB
if you are running the Db2 Command Window with local administrator privileges. If you did not open the Db2 Command Window with administrator privileges, replace "system" with "user". Then open MS ODBC Administrator again and check that BLUDB is listed here (it is supposed to be). Retry the connection test. Before you start working with your R application we need to make sure that the basic Db2 and ODBC setup is correct.
------------------------------
Christoph Theisen
Rocket Software
------------------------------