When updating the Detector for Db2 for z/OS (PDT) Collection Profile Additional Keys panel and want to switch back
all connection types and all additional key fields back to "N" the following error message results:
DT668E: No Connection Type selected
or
DT668E: No Additional Keys selected
The DT668E error message indicates that you have updated the collection profile Additional Keys Group but have not selected
any Connection Types or Additional Keys.
When you update the Additional Keys Group you must select at least one Collection Type and one Additional Key to be enabled
for when the Additional View By Keys start option is selected.
The DT668E message documents that at least one connection type and one key must be selected to update the keys group.
The keys group controls the scope of additional keys collection but does not enable or disable it.
What that means is once you update a Profile and change its values from "N" to "Y" you cannot then go back and set ALL
the values back to "N" to disable the Keys option.
This is working as designed and is how the product currently works.
To disable keys collection start Detector collection with View By Keys ==> N from the ISPF start collection dialog or specify the
KEYS(N) parameter if using the START(DTR) modify command.
Or of course delete the profile altogether and just create a new profile but then leave all the options set to "N".