{"id":7725,"date":"2019-12-03T11:23:07","date_gmt":"2019-12-03T19:23:07","guid":{"rendered":"https:\/\/minisoft.com\/support\/?p=7725"},"modified":"2020-08-11T10:24:39","modified_gmt":"2020-08-11T17:24:39","slug":"write-data-to-an-ibm-websphere-mq-message-queue","status":"publish","type":"post","link":"https:\/\/www.minisoft.com\/support\/write-data-to-an-ibm-websphere-mq-message-queue\/","title":{"rendered":"Write data to an IBM (WebSphere) MQ Message Queue"},"content":{"rendered":"\n<p>eFORMz can read files from an IBM (WebSphere) MQ Message Queue. Options are shown below.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"548\" height=\"209\" src=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2019\/12\/ReadMQ.png\" alt=\"\" class=\"wp-image-7726\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2019\/12\/ReadMQ.png 548w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2019\/12\/ReadMQ-300x114.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2019\/12\/ReadMQ-150x57.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2019\/12\/ReadMQ-250x95.png 250w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2019\/12\/ReadMQ-472x180.png 472w\" sizes=\"(max-width: 548px) 100vw, 548px\" \/><figcaption> Values currently defined for reading from Queue \u201cQ2\u201d<\/figcaption><\/figure><\/div>\n\n\n\n<p>Based off of the values defined for reading from Queue \u201cQ2\u201d, a simple command within an eFORMz output can be implemented to send the data to a Queue \u201cQ1\u201d on the same server using the string shown below. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"721\" height=\"163\" src=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2020\/08\/MQ1.png\" alt=\"\" class=\"wp-image-8329\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2020\/08\/MQ1.png 721w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2020\/08\/MQ1-300x68.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2020\/08\/MQ1-150x34.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2020\/08\/MQ1-250x57.png 250w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2020\/08\/MQ1-550x124.png 550w\" sizes=\"(max-width: 721px) 100vw, 721px\" \/><figcaption>java -jar eSubmit.jar -i %0 -mq nectarine;1414;MY_SVRCONN;QM_TEST;Q1 -mqm dat<\/figcaption><\/figure><\/div>\n\n\n\n<pre class=\"wp-block-preformatted\">java -jar eSubmit.jar -i %0 -mq {host};{port};{channel};{queue manager};{write-to queue} -mqm {file extension} <\/pre>\n\n\n\n<p>The data can be any output from eFORMz. This includes text, XML, JSON, PCL, ZPL, etc.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">As of Version 11.03.07<\/h2>\n\n\n\n<p>As of 11.03.07 , Printers.xml will send the data without the overhead of instantiating another copy of Java.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;Printer Reference=\"MQ2\" Format=\"PCL\" Media=\"Default\">&lt;Device Name=\"mq:\/\/nectarine:1414\/?channel=MY_SVRCONN&amp;amp;qmgr=QM_TEST&amp;amp;msgq=Q2&amp;amp;userid=neal&amp;amp;password=pwd\" MaxPages=\"0\" PercentLoad=\"100.00\" \/>&lt;\/Printer><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>eFORMz can read files from an IBM (WebSphere) MQ Message Queue. Options are shown below. Based off of the values defined for reading from Queue \u201cQ2\u201d, a simple command within an eFORMz output can be implemented to send the data to a Queue \u201cQ1\u201d on the same server using the string shown below. java -jar [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[186],"tags":[27,427,191],"_links":{"self":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/7725"}],"collection":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=7725"}],"version-history":[{"count":5,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/7725\/revisions"}],"predecessor-version":[{"id":8330,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/7725\/revisions\/8330"}],"wp:attachment":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=7725"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=7725"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=7725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}