{"id":6957,"date":"2018-08-22T19:39:29","date_gmt":"2018-08-22T19:39:29","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=6957"},"modified":"2020-07-02T12:17:05","modified_gmt":"2020-07-02T19:17:05","slug":"iseries-data-queue","status":"publish","type":"post","link":"https:\/\/www.minisoft.com\/support\/iseries-data-queue\/","title":{"rendered":"iSeries Data Queue"},"content":{"rendered":"<p>As of eFORMz version 11.02, iSeries Data Queues (DTAQ) may now be accessed with eFORMz.<\/p>\n<p>NOTE: For using Data Queues in the Director, view the following post: <a href=\"\/support\/index.php\/using-data-queues-in-eformz\/\">Using Data Queues in eFORMz<\/a><\/p>\n<p><strong>Reading<\/strong><\/p>\n<p>Users can define a new Queue and access either a local or remote DTAQ. Local access would be from a copy of eFORMz running on an iSeries host. Remote access can be from any server type running eFORMz (Windows, Linux, iSeries, etc.)<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/DTAQ1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6958\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/DTAQ1.png\" alt=\"\" width=\"590\" height=\"501\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/DTAQ1.png 590w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/DTAQ1-300x255.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/DTAQ1-150x127.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/DTAQ1-250x212.png 250w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/DTAQ1-550x467.png 550w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/DTAQ1-212x180.png 212w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/DTAQ1-353x300.png 353w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/DTAQ1-589x500.png 589w\" sizes=\"(max-width: 590px) 100vw, 590px\" \/><\/a><\/p>\n<p><strong>NOTE:<\/strong> It&#8217;s important to use the correct CCSID. It must be changed to match your data coding. For reference, IBM code page 37 is an EBCDIC code page with the full Latin-1 character set used in IBM mainframes. It is used in some English and Portuguese speaking countries, including Australia, Brazil, Canada, New Zealand, Portugal, South Africa, and the United States. CCSID 1140 is the Euro currency update of code page\/CCSID 37.<\/p>\n<p><strong>Writing<\/strong><\/p>\n<p>A project can now write to a Local or Remote DTAQ.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/DTAQ2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6959\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/DTAQ2.png\" alt=\"\" width=\"483\" height=\"244\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/DTAQ2.png 483w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/DTAQ2-300x152.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/DTAQ2-150x76.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/DTAQ2-250x126.png 250w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/DTAQ2-356x180.png 356w\" sizes=\"(max-width: 483px) 100vw, 483px\" \/><\/a><\/p>\n<p><strong>Using Match String<\/strong><\/p>\n<p>Match String is a regular expression (<a href=\"\/support\/index.php\/regular-expressions-2\/\">RegEx<\/a>) \u2018match\u2019 of the first \u2013 up to 2,000 \u2013 characters. If the RegEx matches, the message is used.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/MatchString.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-7104\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/MatchString.png\" alt=\"\" width=\"563\" height=\"218\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/MatchString.png 563w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/MatchString-300x116.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/MatchString-150x58.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/MatchString-250x97.png 250w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/MatchString-550x213.png 550w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/08\/MatchString-465x180.png 465w\" sizes=\"(max-width: 563px) 100vw, 563px\" \/><\/a><\/p>\n<p>The configurable parameters will include:<\/p>\n<pre>Queue name<\/pre>\n<pre>Path<\/pre>\n<pre>CCSID<\/pre>\n<pre>host, user, pwd<\/pre>\n<p>(If left blank, it uses the current job and local host)<\/p>\n<p>The returned equivalent to the iSeries_USERDATA, etc. queue monitor variables include (with examples):<\/p>\n<pre>DTAQ_Name:\"DEF\"\nDTAQ_Description:\"My Sample DTAQ\"\nDTAQ_MLen: 16384\nDTAQ_Path:\"\/QSYS.LIB\/QGPL.LIB\/DEF.DTAQ\"\nDTAQ_SenderInformation: \"QZHQSSRV\u00a0 QUSER\u00a0\u00a0\u00a0\u00a0 029582U0002204\u00a0 \"\nDTAQ_CCSID: 37\n<\/pre>\n<p><strong>Passing Data<\/strong><\/p>\n<p>You can used fixed locations or tags to identify the data you are passing. For example:<\/p>\n<pre>PRINTERNAME, #COPIES, FORMAT<\/pre>\n<p>Or<\/p>\n<pre>Printer: printername\nCopies: 123\nFormat: dropship<\/pre>\n<p>Or<\/p>\n<pre>&lt;data&gt;\n&lt;header&gt;\n&lt;printer&gt;printername&lt;\/printer&gt;\n&lt;copies&gt;123&lt;\/copies&gt;\n&lt;\/header&gt;\n&lt;\/data&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>As of eFORMz version 11.02, iSeries Data Queues (DTAQ) may now be accessed with eFORMz. NOTE: For using Data Queues in the Director, view the following post: Using Data Queues in eFORMz Reading Users can define a new Queue and access either a local or remote DTAQ. Local access would be from a copy of [&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":[81,596],"_links":{"self":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6957"}],"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=6957"}],"version-history":[{"count":9,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6957\/revisions"}],"predecessor-version":[{"id":8239,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6957\/revisions\/8239"}],"wp:attachment":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=6957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=6957"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=6957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}