I am new to DB2 and I am trying to implement a tool using DB2 Administrative (C API) API.My requirement is for the tool to query the DB2 servers to get the list of databases in each of the servers.I looked at API's like sqleatin(Attach),sqledosd (open database directory scan) etc: which I believe will give me the necessary info.
My question is :
1.Can I execute the Administrative API's remotely ?? Can I execute this tool (that uses the admin API) in a box that does not have a DB2 installation ??
I am asking this since none of the API's take an IP address / Tcp port as argument.Instead they seem to be using the value of the DB2INSTANCE env variable to identify the instance.
Any help will be highly appreciated....