{"id":6511,"date":"2017-03-02T11:13:04","date_gmt":"2017-03-02T03:13:04","guid":{"rendered":"http:\/\/rmohan.com\/?p=6511"},"modified":"2017-03-02T11:13:59","modified_gmt":"2017-03-02T03:13:59","slug":"verify-queue-deletion-operation-in-websphere-mq","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=6511","title":{"rendered":"Verify queue deletion operation in WebSphere MQ."},"content":{"rendered":"<p><strong>Delete local queue &#8211; DELETE command<\/strong><\/p>\n<p>Delete the local queue QL.A on the runmqsc command interface (error case).<\/p>\n<p>Delete ql (QL.A)<br \/>\n1: delete ql (QL.A)<br \/>\nAMQ 8143: WebSphere MQ queue not empty.<\/p>\n<p>In the case of<br \/>\nDelete ql (QL.A)<br \/>\n1: delete ql (QL.A)<br \/>\nAMQ 8143: WebSphere MQ queue not empty.<\/p>\n<p>Message that QL.A has a message that it can not be deleted. Empty the message in QL.A with the CLEAR command and delete again.<\/p>\n<p>Clear ql (QL.A)<br \/>\n2: clear ql (QL.A)<br \/>\nAMQ 8022: WebSphere MQ queue cleared.<br \/>\nDelete ql (QL.A)<br \/>\n3: delete ql (QL.A)<br \/>\nAMQ 800: WebSphere MQ queue deleted.<br \/>\nIn the case of<br \/>\nClear ql (QL.A)<br \/>\n2: clear ql (QL.A)<br \/>\nAMQ 8022: WebSphere MQ queue cleared.<br \/>\nDelete ql (QL.A)<br \/>\n3: delete ql (QL.A)<br \/>\nAMQ 800: WebSphere MQ queue deleted.<\/p>\n<p>By adding the purge option of the delete command, even if a message is in the queue, it can be deleted as it is.<\/p>\n<p>Dis ql (QL.B) curdepth<br \/>\n1: dis ql (QL.B) curdepth<br \/>\nAMQ 8409: Display Queue details.<br \/>\nQUEUE (QL.B) TYPE (QLOCAL)<br \/>\nCURDEPTH (1)<br \/>\nDelete ql (QL.B) purge<br \/>\n2: delete ql (QL.B) purge<br \/>\nAMQ 800: WebSphere MQ queue deleted.<\/p>\n<p>In the case of<br \/>\nDis ql (QL.B) curdepth<br \/>\n1: dis ql (QL.B) curdepth<br \/>\nAMQ 8409: Display Queue details.<br \/>\nQUEUE (QL.B) TYPE (QLOCAL)<br \/>\nCURDEPTH (1)<br \/>\nDelete ql (QL.B) purge<br \/>\n2: delete ql (QL.B) purge<br \/>\nAMQ 800: WebSphere MQ queue deleted.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Delete local queue &#8211; DELETE command<\/p>\n<p>Delete the local queue QL.A on the runmqsc command interface (error case).<\/p>\n<p>Delete ql (QL.A) 1: delete ql (QL.A) AMQ 8143: WebSphere MQ queue not empty.<\/p>\n<p>In the case of Delete ql (QL.A) 1: delete ql (QL.A) AMQ 8143: WebSphere MQ queue not empty.<\/p>\n<p>Message that QL.A has a [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6511"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6511"}],"version-history":[{"count":2,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6511\/revisions"}],"predecessor-version":[{"id":6513,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6511\/revisions\/6513"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}