{"id":10326,"date":"2022-05-13T11:34:52","date_gmt":"2022-05-13T18:34:52","guid":{"rendered":"https:\/\/minisoft.com\/support\/?p=10326"},"modified":"2022-05-13T14:35:01","modified_gmt":"2022-05-13T21:35:01","slug":"qmcomponentfiles","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/qmcomponentfiles\/","title":{"rendered":"QMComponentFiles"},"content":{"rendered":"\n<p><code>QMComponentFiles<\/code> is a <a href=\"https:\/\/minisoft.com\/support\/index.php\/predefined-queue-monitor-variables\/\" data-type=\"post\" data-id=\"7116\">predefined Queue Mo<\/a><a href=\"\/support\/index.php\/predefined-queue-monitor-variables\/\">n<\/a><a href=\"https:\/\/minisoft.com\/support\/index.php\/predefined-queue-monitor-variables\/\" data-type=\"post\" data-id=\"7116\">itor variable<\/a>. Queue Monitor variables are defined in the <a href=\"\/support\/index.php\/eformz-job-queue-running-the-director-on-the-iseries\/\">Director Toolkit<\/a>. They can be accessed in a project by defining a Queue Monitor variable and giving it the same name as the variable defined in the Director Toolkit. QMComponentFiles defined as a global variable sends a list of files back to the Queue Monitor. Add <code>QMComponentFiles<\/code> as a global variable by right-clicking the project and selecting Add Global Variable. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/05\/QMComponent1.png\"><img decoding=\"async\" loading=\"lazy\" width=\"626\" height=\"277\" src=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/05\/QMComponent1.png\" alt=\"\" class=\"wp-image-10329\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2022\/05\/QMComponent1.png 626w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2022\/05\/QMComponent1-300x133.png 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2022\/05\/QMComponent1-150x66.png 150w\" sizes=\"(max-width: 626px) 100vw, 626px\" \/><\/a><\/figure>\n\n\n\n<p>Those files listed will have the same disposition as the main data file, that is, a comma-delimited string of file names.<\/p>\n\n\n\n<p><em>Example<\/em><br>0000000088 (12\/1\/16 1:19:02 PM) iSeries_SPFNAME = COLLATE<br>0000000088 (12\/1\/16 1:19:02 PM) iSeries_USERDATA = PK10RERP<br>0000000088 (12\/1\/16 1:19:02 PM) iSeries_JOBNAME = SDBLACKBUB<br>0000000088 (12\/1\/16 1:19:02 PM) datafileext =<br>0000000088 (12\/1\/16 1:19:02 PM) queue = \/QSYS.LIB\/QUSRSYS.LIB\/MINISOFT.OUTQ<br>0000000088 (12\/1\/16 1:19:02 PM) iSeries_SAVE = *YES<br>0000000088 (12\/1\/16 1:19:02 PM) iSeries_JOBUSER = SDBLACKBUR<br>0000000088 (12\/1\/16 1:19:02 PM) iSeries_COPIES = 1<br>0000000088 (12\/1\/16 1:19:02 PM) datafilename = COLLATE<br>0000000088 (12\/1\/16 1:19:02 PM) iSeries_USERDEFDATA = *NONE<br>0000000088 (12\/1\/16 1:19:02 PM) iSeries_SPLFSTATUS = *READY<\/p>\n\n\n\n<p><strong>Input Variables:<\/strong><br>( \u201ciSeries_COPIES\u201d);<br>( \u201ciSeries_USERDATA\u201d);<br>( \u201ciSeries_USERDEFDATA\u201d);<br>( \u201ciSeries_SAVE\u201d);<br>( \u201ciSeries_JOBUSER\u201d);<br>( \u201ciSeries_JOBNAME\u201d);<br>( \u201ciSeries_SPFNAME\u201d);<br>( \u201ciSeries_SPLFSTATUS\u201d);<br>( \u201ciSeries_FILENUMBER\u201d);<br>( \u201ciSeries_JOBNUMBER\u201d);<br>( \u201ciSeries_FORMTYPE\u201d);<br>( \u201ciSeries_AUX_POOL\u201d);<\/p>\n\n\n\n<p><strong>Output Variables:<\/strong><br>(\u201cATTR_USERDATA\u201d);<br>(\u201cATTR_USRDEFDATA\u201d);<br>(\u201cATTR_SAVE\u201d);<br>(\u201cATTR_HOLD\u201d);<br>(\u201cATTR_FORMTYPE\u201d);<br>(\u201cATTR_SCHEDULE\u201d);<\/p>\n\n\n\n<p>After adding <code>QMComponentFiles<\/code> as a global variable, use a <a href=\"\/support\/index.php\/set-variable\/\">Set Variable procedure<\/a> to set <code>QMComponentFiles<\/code> to a specific value. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/05\/QMComponent2.png\"><img decoding=\"async\" loading=\"lazy\" width=\"452\" height=\"202\" src=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/05\/QMComponent2.png\" alt=\"\" class=\"wp-image-10331\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2022\/05\/QMComponent2.png 452w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2022\/05\/QMComponent2-300x134.png 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2022\/05\/QMComponent2-150x67.png 150w\" sizes=\"(max-width: 452px) 100vw, 452px\" \/><\/a><\/figure>\n\n\n\n<p>Finally, configure an eDIRECT process in the Director Toolkit.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>QMComponentFiles is a predefined Queue Monitor variable. Queue Monitor variables are defined in the Director Toolkit. They can be accessed in a project by defining a Queue Monitor variable and giving it the same name as the variable defined in the Director Toolkit. QMComponentFiles defined as a global variable sends a list of files back [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[106,186],"tags":[81,168,343,779],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/10326"}],"collection":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=10326"}],"version-history":[{"count":6,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/10326\/revisions"}],"predecessor-version":[{"id":10335,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/10326\/revisions\/10335"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=10326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=10326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=10326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}