{"id":7353,"date":"2019-03-27T16:56:18","date_gmt":"2019-03-27T16:56:18","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=7353"},"modified":"2020-07-02T13:03:15","modified_gmt":"2020-07-02T20:03:15","slug":"install-as400-iseries-commands","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/install-as400-iseries-commands\/","title":{"rendered":"Install AS400\/iSeries Commands"},"content":{"rendered":"<p>Create an eFORMz Library. At the command line enter the following:<\/p>\n<pre>CRTLIB LIB(EFZLIB) TEXT('Minisoft eFORMz Library')<\/pre>\n<p>Create an eFORMz Job Queue. At the command line enter the following:<\/p>\n<pre>CRTJOBQ JOBQ(EFZLIB\/EFZJOBQ) TEXT('Minisoft eFORMz Job Queue')<\/pre>\n<p>Create an eFORMz Job Description. At the command line enter the following:<\/p>\n<pre>CRTJOBD JOBD(EFZLIB\/EFZJOBD) JOBQ(EFZLIB\/EFZJOBQ)<\/pre>\n<p>Create a subsystem:<\/p>\n<pre>CRTSBSD SBSD(EFZLIB\/EFZSBS) POOLS((1 *BASE)) TEXT('Minisoft eFORMz Subsystem')<\/pre>\n<p>Start the subsystem:<\/p>\n<pre>STRSBS SBSD(EFZLIB\/EFZSBS)<\/pre>\n<p>To determine the next available sequence number, enter the following at the command line:<\/p>\n<pre>DSPSBSD SBSD(EFZLIB\/EFZSBS)<\/pre>\n<p><b>Note:<\/b> Select option #6 (Job Queue Entries) and check for an unused sequence number.<\/p>\n<p>Attach a job queue to an active subsystem. At the command line enter the following: SEQNBR. number: ______(enter value from the previous step. Use 10 for a new\/empty SBSD)Example:<\/p>\n<pre>ADDJOBQE SBSD(EFZLIB\/EFZSBS) JOBQ(EFZLIB\/EFZJOBQ) MAXACT(3) SEQNBR(10)<\/pre>\n<p>Create a class for the Subsystem Routing:<\/p>\n<pre>CRTCLS CLS(EFZLIB\/EFZCLS) RUNPTY(50) TEXT('Minisoft eFORMz Class')<\/pre>\n<p>Add job routing to the Subsystem:<\/p>\n<pre>ADDRTGE SBSD(EFZLIB\/EFZSBS) SEQNBR(1999) CMPVAL(*ANY) PGM(QCMD) CLS(EFZLIB\/EFZCLS)<\/pre>\n<p>Create a new eFORMz User. At the command line enter the following:<\/p>\n<pre>CRTUSRPRF USRPRF(EFORMZ) USRCLS(*SYSOPR) TEXT('Minisoft eFORMz User') JOBD(EFZLIB\/EFZJOBD)<\/pre>\n<p>Start eFORMz (Service Manager):<\/p>\n<pre>SBMJOB CMD(QSH CMD('cd \/minisoft ; \/QOpenSys\/QIBM\/ProdData\/JavaVM\/jdk80\/64bit\/bin\/java -Djava.awt.headless=true -Duser.dir=\/minisoft -jar \/minisoft\/Run.jar -Monitor=true \/minisoft ')) JOB(DIRECTOR) JOBD(EFZLIB\/EFZJOBD) USER(EFORMZ)<\/pre>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2019\/03\/subsystem.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-7356\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2019\/03\/subsystem.png\" alt=\"\" width=\"707\" height=\"136\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2019\/03\/subsystem.png 707w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2019\/03\/subsystem-300x58.png 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2019\/03\/subsystem-150x29.png 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2019\/03\/subsystem-250x48.png 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2019\/03\/subsystem-550x106.png 550w\" sizes=\"(max-width: 707px) 100vw, 707px\" \/><\/a><br \/>\nStop eFORMz (Service Manager)<\/p>\n<pre>QSH CMD('cd \/minisoft ; \/QOpenSys\/QIBM\/ProdData\/JavaVM\/jdk80\/64bit\/bin\/java -Djava.awt.headless=true -Duser.dir=\/minisoft -jar \/minisoft\/Run.jar \/minisoft com.minisoft.Run.manage.ServiceManagerCommand user=minisoft password=password shutdown &gt; \/minisoft\/log\/logfile')<\/pre>\n<h1>Additional Resources:<\/h1>\n<p><a href=\"\/support\/index.php\/eformz-iseries-deployment-options\/\" data-rich-text-format-boundary=\"true\">eFORMz iSeries Deployment Options<\/a><br data-rich-text-line-break=\"true\" \/><a href=\"\/support\/index.php\/as400-roadmap\/\">iSeries\/AS\/400 Roadmap<\/a><br data-rich-text-line-break=\"true\" \/><a href=\"\/support\/index.php\/eformz-installation-as400\/\">Installing eFORMz on iSeries\/AS400<\/a><br data-rich-text-line-break=\"true\" \/><a href=\"\/support\/index.php\/setting-up-eformz-on-iseries\/\">Setting Up eFORMz on the iSeries<\/a><br data-rich-text-line-break=\"true\" \/><a href=\"\/support\/index.php\/license-eformz-on-an-as400-iseries-system\/\">License eFORMz on an AS\/400 (iSeries) system<\/a><br data-rich-text-line-break=\"true\" \/><a href=\"\/support\/index.php\/license-eformz-on-an-as400-iseries-system\/\">Director Setup for AS400\/iSeries<\/a><br data-rich-text-line-break=\"true\" \/><a href=\"\/support\/index.php\/license-eformz-on-an-as400-iseries-system\/\">Add eFORMz Director to the iSeries\/AS\/400 startup program<\/a><br data-rich-text-line-break=\"true\" \/><a href=\"\/support\/index.php\/license-eformz-on-an-as400-iseries-system\/\">iSeries (AS\/400) Automation and Director Commands<\/a><br data-rich-text-line-break=\"true\" \/><a href=\"\/support\/index.php\/license-eformz-on-an-as400-iseries-system\/\">iSeries: User Running the Director Must Have a Password<\/a><br data-rich-text-line-break=\"true\" \/><a href=\"\/support\/index.php\/license-eformz-on-an-as400-iseries-system\/\">Adding a Remote iSeries Queue to a toolkit configuration file<\/a><br data-rich-text-line-break=\"true\" \/><a href=\"\/support\/index.php\/license-eformz-on-an-as400-iseries-system\/\">Troubleshooting: Missing or Lost Data on iSeries<\/a><br data-rich-text-line-break=\"true\" \/><a href=\"\/support\/index.php\/license-eformz-on-an-as400-iseries-system\/\">Predefined Queue Monitor Variables<\/a><br data-rich-text-line-break=\"true\" \/><a href=\"\/support\/index.php\/iseries-data-queue\/\">iSeries Data Queue<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Create an eFORMz Library. At the command line enter the following: CRTLIB LIB(EFZLIB) TEXT(&#8216;Minisoft eFORMz Library&#8217;) Create an eFORMz Job Queue. At the command line enter the following: CRTJOBQ JOBQ(EFZLIB\/EFZJOBQ) TEXT(&#8216;Minisoft eFORMz Job Queue&#8217;) Create an eFORMz Job Description. At the command line enter the following: CRTJOBD JOBD(EFZLIB\/EFZJOBD) JOBQ(EFZLIB\/EFZJOBQ) Create a subsystem: CRTSBSD SBSD(EFZLIB\/EFZSBS) POOLS((1 [&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,427],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/7353"}],"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=7353"}],"version-history":[{"count":6,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/7353\/revisions"}],"predecessor-version":[{"id":8258,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/7353\/revisions\/8258"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=7353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=7353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=7353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}