Inquire Security on z/OS
The Inquire Security (MQCMD_INQUIRE_SECURITY) command returns information about the current settings for the security parameters.
Optional parameters
- CommandScope (MQCFST)
- Command scope (parameter identifier: MQCACF_COMMAND_SCOPE). Specifies how the command is executed when the queue manager is a member of a queue sharing group. We can specify one of the following:
- blank (or omit the parameter altogether). The command is processed on the queue manager on which it was entered.
- a queue manager name. The command is processed on the queue manager you specify, providing it is active within the queue sharing group. If you specify a queue manager name other than the queue manager on which it was entered, we must be using a queue sharing group environment, and the command server must be enabled.
- an asterisk (*). The command is processed on the local queue manager and is also passed to every active queue manager in the queue sharing group.
The maximum length is MQ_QSG_NAME_LENGTH.
- SecurityAttrs (MQCFIL)
- Security parameter attributes (parameter identifier: MQIACF_SECURITY_ATTRS). The attribute list might specify the following value on its own - default value used if the parameter is not specified:
- MQIACF_ALL
- All attributes.
or a combination of the following:
- MQIACF_SECURITY_SWITCH
- Current setting of the switch profiles. If the subsystem security switch is off, no other switch profile settings are returned.
- MQIACF_SECURITY_TIMEOUT
- Timeout value.
- MQIACF_SECURITY_INTERVAL
- Time interval between checks.
Parent topic: Definitions of the Programmable Command Formats