Use the mqsireportdbparms command to list all parameters that are set for a specific broker.
You can use the mqsireportdbparms command to identify if parameters are set on a broker. If security credentials are set for the broker, you can check that a password that is associated with a user ID is what you expect by entering a password. The command returns if the input password is correct or not.
mqsireportdbparms can list the set parameters for integration nodes that use the following resources:
You can also return what security credentials are set on a broker, and identify if you have the correct password; see Checking the security credentials that are used by an integration node.
All parameters that can be set by using the mqsisetdbparms command, see mqsisetdbparms command.
Ensure that the registry is appropriately secured to prevent unauthorized access.
mqsireportdbparms broker_name -n ftp::server
The command returns any associated security credentials for the specified resource. If there are no credentials that are set, then a warning is displayed.
mqsireportdbparms broker_name -n ftp
The command returns if any of the resources of that type have associated security credentials. If there are no credentials that are set, then a warning is displayed.
The following examples show the use of the command to test if a password is associated with a specific resource.
If you are testing a connected SFTP resource:
mqsireportdbparms IB9NODE -n SFTP::server -u user_id -i SSH_identity -r password
If you are testing a connected data source (that is not SFTP):mqsireportdbparms IB9NODE -n userdb -u user_id -p password
where userdb represents the connected resource, user_id represents the user ID and password represents the password that is being tested for the resource:
The command returns if the password is correct or incorrect, and if the password was changed since the integration node was last started.