{"id":7198,"date":"2018-12-19T17:29:09","date_gmt":"2018-12-19T17:29:09","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=7198"},"modified":"2020-07-02T12:49:08","modified_gmt":"2020-07-02T19:49:08","slug":"iseries-director-job","status":"publish","type":"post","link":"https:\/\/www.minisoft.com\/support\/iseries-director-job\/","title":{"rendered":"iSeries Director Job"},"content":{"rendered":"<p><strong>FAQ:<\/strong>\u00a0When the Director job is running we are seeing 3 jobs running:<\/p>\n<pre>DIRECTOR\nQP0ZSPWT\nQZSHSH<\/pre>\n<p>Can you please explain what each of these jobs are and what they are doing?<\/p>\n<p><strong>Answer:<\/strong> There are three objects started in a single Director Job <a href=\"\/support\/index.php\/as400-roadmap\/\">on the iSeries<\/a> (AS\/400).<\/p>\n<p>A) &#8220;DIRECTOR&#8221; is the job stream. It is created as part of the SBMJOB command. It starts the &#8220;QZSHSH&#8221; program for IFS access. The &#8220;DIRECTOR&#8221; is in a wait state (TIMW) pending the completion of the QSHELL.<\/p>\n<p>B) &#8220;QZSHSH&#8221; is used to create a Java Runtime Environment for eFORMz to run. It has two commands. The first sets the current IFS working directory to &#8220;\/minisoft&#8221;. It then starts the Java application and waits (EVTW) for it to complete.<\/p>\n<p>C) \u201cQP0ZSPWT\u201d (the name given to this version of Java by IBM) is the actual Java Runtime Environment (JRE) in which eFORMz runs.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-7199 alignright\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series1.png\" alt=\"\" width=\"839\" height=\"93\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series1.png 839w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series1-300x33.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series1-768x85.png 768w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series1-150x17.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series1-250x28.png 250w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series1-550x61.png 550w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series1-800x89.png 800w\" sizes=\"(max-width: 839px) 100vw, 839px\" \/><\/a><\/p>\n<p>Using the WRKACTJOB command displays these three parts of the same job on three lines.<\/p>\n<p>Switching views (F11) will show that the two waiting objects each have a single thread. The Java object will have a number of threads in use related to how it is configured and how busy it is.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-7200\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series2.png\" alt=\"\" width=\"901\" height=\"94\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series2.png 901w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series2-300x31.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series2-768x80.png 768w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series2-150x16.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series2-250x26.png 250w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series2-550x57.png 550w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/12\/dj-series2-800x83.png 800w\" sizes=\"(max-width: 901px) 100vw, 901px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>FAQ:\u00a0When the Director job is running we are seeing 3 jobs running: DIRECTOR QP0ZSPWT QZSHSH Can you please explain what each of these jobs are and what they are doing? Answer: There are three objects started in a single Director Job on the iSeries (AS\/400). A) &#8220;DIRECTOR&#8221; is the job stream. It is created as [&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,427,191,189],"_links":{"self":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/7198"}],"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=7198"}],"version-history":[{"count":2,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/7198\/revisions"}],"predecessor-version":[{"id":8253,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/7198\/revisions\/8253"}],"wp:attachment":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=7198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=7198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=7198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}