RESET SMDS on z/OS
Use the MQSC command RESET SMDS to modify availability or status information relating to one or more shared message data sets associated with a specific application structure.
Use MQSC commands
For information on how we use MQSC commands, see Performing local administration tasks using MQSC commands.
We can issue this command from sources CR. For an explanation of the source symbols, see Use commands on z/OSĀ®.
Synonym:RESET SMDS
Parameter descriptions for RESET SMDS
This command is only supported when the CFSTRUCT definition is currently using the option OFFLOAD(SMDS).
- SMDS(qmgr-name|*)
- Specify the queue manager for which the shared message data set availability or status information is to be modified, or an asterisk to modify the information for all data sets associated with the specified CFSTRUCT.
- CFSTRUCT( structure-name )
- Specify the coupling facility application structure for which the availability or status information for one or more shared message data sets is to be modified.
- ACCESS( ENABLED|DISABLED )
- This keyword is used to enable and disable access to a shared message data set, making it available or unavailable to the queue managers in the group.
- This keyword is useful when a shared message data set is required to be temporarily unavailable,
for example while moving it to a different volume. In this instance, the keyword would be used to
mark the data set as ACCESS(DISABLED) causing all of the queue managers to close it normally and
deallocate it. When the data set is ready to be used, it can be marked as ACCESS(ENABLED) allowing
the queue managers to access it again.
- ENABLED
- Use the ENABLED parameter to enable access to the shared message data set after previously disabling access, or to retry access after an error has caused the availability state to be set to ACCESS(SUSPENDED).
- DISABLED
- Use the DISABLED parameter to indicate that the shared message data set cannot be used until the access has been changed back to ENABLED. Any queue managers currently connected to the shared message data set are disconnected from it.
- STATUS(FAILED | RECOVERED)
- This keyword is used to specify that a shared message data set requires recovery/repair, or to reset the STATUS of the data set from FAILED.