I would like to clarify how we add 300 db2 databases to the credentials area if each DB has to be added by name and port. There must be a better more efficient way to add theses credentials.
Re: DB2 Discovery
You could use JMX-console to check export and importCredentialsAndRangesInformation functionality in UCMDB:service=Discovery mbean. I have checked that on my own. It even takes more time for making manually multiply object tags for each one credential. As a result of that test I would like to advise you to add all the credentials one by one via uCMDB UI. Despite of that I find your request very interesting though I cannot see how it would be possible that feature to be implemented.
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.