Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Messaging×

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Is it safe to do a forced shutdown of WebSphere MQ?

2700050NEH gravatar image
Question by SharonYang  (2191) | Jul 06, 2015 at 02:45 PM cicsmessagingcicstswmq

Is it safe to use the WebSphere MQ (WMQ) forced shutdown command stop qmgr mode(force) to shutdown the MQ MSTR address space? I entered 'stop qmgr' to do a normal MQ shutdown. However, the MSTR address space is still hung during shutdown.

Theresa Hamilton
DebbieMcLaughlin

People who like this

  2
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
2700050NEH gravatar image
Accepted answer

Answer by SharonYang (2191) | Jul 07, 2015 at 04:22 PM

You can perform a forced shutdown of your queue manager by entering stop qmgr mode(force). It is safe and there is no associated data integrity problems. In the worst case, a unit of work (UOW) will be left indoubt. However, the indoubt UOW can be resynchronized upon reconnection of CICS and WebSphere MQ. For more information, refer to the following documentation in the IBM Knowledge Center:

  • What happens when the CICS-WebSphere MQ connection shuts down

  • What happens when the CICS-WebSphere MQ adapter restarts

To prevent WebSphere MQ from hanging during a quiesced shutdown would require significant changes to CICS that are beyond the scope of an APAR fix. A request for enhancement (RFE) 73742 has been submitted to request improvements to this area in CICS. If you would like to increase the chances of this enhancement request being completed, click on the link for the RFE, then signon using your IBMid, scroll to the bottom of the page, and click on "vote" to vote for it.

If you find that your WebSphere MQ MSTR address space is still hung after entering stop qmgr, you might be able to enter the MQ command **DIS THREAD()* to determine if there are any threads active within CICS.

When looking at a CICS dump, you can display the MQ domain by entering VERBX DFHPDxxx 'MQ' (where xxx is your release level of CICS like 690 for CICS TS 5.2). The MQ domain will show you the connection status. In this case, the connection status was "Pending" but the disconnection was complete. By entering VERBX DFHPDxxx 'KE' to look at the KE domain, you can determine if the MQ task has completed. In this case, the MQ task had completed successfully and the L8 TCB was subsequently being used by another long running non-MQ task which caused this problem at MQ shutdown.

Comment
Theresa Hamilton
RobGoodwin
DebbieMcLaughlin

People who like this

  3   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

34 people are following this question.

Answers

Answers & comments

Related questions

DFHMQ0480 E MQCC=2 MQRC=2195 when starting CICS-WebSphere MQ adapter 1 Answer

Many WTO 'qrpl prepare' messages in CICS log 1 Answer

Why is the CKBP transaction performing badly? 1 Answer

Why is CKAM thread shows inqindoubt status? 1 Answer

DFHMQ0480 E MQCC=2 MQRC=2195 QRPL at X'3355F2B0' FRB at X'3333ED00' 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges