{"id":6070,"date":"2017-12-27T19:43:06","date_gmt":"2017-12-27T19:43:06","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=6070"},"modified":"2021-02-23T10:06:00","modified_gmt":"2021-02-23T18:06:00","slug":"setting-up-eformz-on-iseries","status":"publish","type":"post","link":"https:\/\/alt2.minisoft.com\/support\/setting-up-eformz-on-iseries\/","title":{"rendered":"Setting up eFORMz on iSeries"},"content":{"rendered":"<p>This post describes setting up eFORMz on iSeries, including licensing eFORMz and setting up the Director to run as an automated process.<\/p>\n<h1>Licensing eFORMz on iSeries<\/h1>\n<p>For additional details, consult the following post on creating\u00a0an unsigned license file:\u00a0<a href=\"\/support\/index.php\/license-eformz-on-an-as400-iseries-system\/\">License eFORMz on an AS\/400 (iSeries) system<\/a><\/p>\n<p>Connect to the iSeries using a tn5250 terminal emulator, such as the \u201cMinisoft IBM Emulation\u201d application. At the login prompt, enter your user name and password and press Enter to log in:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6071\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries1.png\" alt=\"\" width=\"611\" height=\"381\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries1.png 611w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries1-300x187.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries1-150x94.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries1-250x156.png 250w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries1-550x343.png 550w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries1-289x180.png 289w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries1-481x300.png 481w\" sizes=\"(max-width: 611px) 100vw, 611px\" \/><\/a><\/p>\n<p>The Main Menu will now be displayed:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6072\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries2.png\" alt=\"\" width=\"610\" height=\"381\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries2.png 610w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries2-300x187.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries2-150x94.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries2-250x156.png 250w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries2-550x344.png 550w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries2-288x180.png 288w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries2-480x300.png 480w\" sizes=\"(max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Before licensing eFORMz on the iSeries, we need to know what Java version is installed.<\/p>\n<h2>Finding the Java Version Installed on iSeries<\/h2>\n<p>To find the installed Java version, launch a command shell by typing the command \u201ccall qp2term\u201d and pressing Enter:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6073\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries3.png\" alt=\"\" width=\"611\" height=\"382\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries3.png 611w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries3-300x188.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries3-150x94.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries3-250x156.png 250w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries3-550x344.png 550w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries3-288x180.png 288w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries3-480x300.png 480w\" sizes=\"(max-width: 611px) 100vw, 611px\" \/><\/a><\/p>\n<p>We need to be in the minisoft directory a few steps below, so change to this directory by typing the following command:<\/p>\n<p><code>cd \/minisoft<\/code><\/p>\n<p>Then at the command prompt, type \u201cjava -version\u201d to see the default Java version installed on the iSeries.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries4.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6075\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries4.png\" alt=\"\" width=\"624\" height=\"160\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries4.png 624w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries4-300x77.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries4-150x38.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries4-250x64.png 250w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries4-550x141.png 550w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/a><\/p>\n<p>In the example shown in the screen shot, the default Java version is 8, but it is a 32-bit version, indicated by \u201cppc -32\u201d on the line showing the Java build. We want to find a 64-bit Java version if one exists. Go to the following IBM website to see the Java versions that can be present on various iSeries operating systems (you can find this website by typing \u201ciSeries java version\u201d into a search engine, and look for a link with the text \u201cIBM Supported Java Development Kit (JDK) Versions\u2026\u201d<\/p>\n<p><a href=\"http:\/\/www-01.ibm.com\/support\/docview.wss?uid=nas8N1011999\">http:\/\/www-01.ibm.com\/support\/docview.wss?uid=nas8N1011999<\/a><\/p>\n<p>Scroll down the page to the table showing the operating system version (in the leftmost column), the JDK version and Bit Level and the JAVA_HOME value (in the rightmost column). The latter is the directory where that version of Java is installed. For example, I am looking for operating system version 7.3, and I want to find the most recent 64-bit Java version that is supported:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries5.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6076\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries5.png\" alt=\"\" width=\"898\" height=\"404\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries5.png 898w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries5-300x135.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries5-768x346.png 768w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries5-150x67.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries5-250x112.png 250w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries5-550x247.png 550w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries5-800x360.png 800w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries5-400x180.png 400w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries5-667x300.png 667w\" sizes=\"(max-width: 898px) 100vw, 898px\" \/><\/a><\/p>\n<p>The last row shows the JAVA_HOME value for JDK 8.0. To test whether this version is indeed installed on the iSeries, I paste this directory into the shell prompt, then append \u201c\/bin\/java -version\u201d to run the following command:<\/p>\n<p><code>\/QOpenSys\/QIBM\/ProdData\/JavaVM\/jdk80\/64bit\/bin\/java -version<\/code><\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries6.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6077\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries6.png\" alt=\"\" width=\"433\" height=\"44\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries6.png 433w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries6-300x30.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries6-150x15.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries6-250x25.png 250w\" sizes=\"(max-width: 433px) 100vw, 433px\" \/><\/a><\/p>\n<p>If I get back something like the following response, this is a valid Java version:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries7.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6078\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries7.png\" alt=\"\" width=\"782\" height=\"173\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries7.png 782w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries7-300x66.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries7-768x170.png 768w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries7-150x33.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries7-250x55.png 250w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries7-550x122.png 550w\" sizes=\"(max-width: 782px) 100vw, 782px\" \/><\/a><\/p>\n<p>If a \u201cnot found\u201d error is returned, I know this is not an installed Java version on this iSeries:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries8.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6079\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries8.png\" alt=\"\" width=\"530\" height=\"50\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries8.png 530w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries8-300x28.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries8-150x14.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries8-250x24.png 250w\" sizes=\"(max-width: 530px) 100vw, 530px\" \/><\/a><\/p>\n<h2>Create the eFORMz License File<\/h2>\n<p>To create the eFORMz license file (eFORMz.xml), run the following command from a shell (be sure there is a space between the last minus sign and \u201ccom.minisoft.Check\u201d, and also be sure to capitalize everything exactly as written:<\/p>\n<p><code>\/QOpenSys\/QIBM\/ProdData\/JavaVM\/jdk80\/64bit\/bin\/java -jar Run.jar \u2013 com.minisoft.Check<\/code><\/p>\n<p>Success is indicated by the following output:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries9.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6081\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries9.png\" alt=\"\" width=\"526\" height=\"117\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries9.png 526w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries9-300x67.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries9-150x33.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries9-250x56.png 250w\" sizes=\"(max-width: 526px) 100vw, 526px\" \/><\/a><\/p>\n<p>This command creates the unlicensed eFORMz.xml file, which can be copied from the iSeries, licensed, and copied back. After copying the eFORMz.xml file back, you can verify that it was licensed correctly by re-entering the command above. You should see output like the following:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries10.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6080\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries10.png\" alt=\"\" width=\"531\" height=\"87\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries10.png 531w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries10-300x49.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries10-150x25.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries10-250x41.png 250w\" sizes=\"(max-width: 531px) 100vw, 531px\" \/><\/a><\/p>\n<h1>Configure eFORMz as an Automated Process on iSeries<\/h1>\n<p>Following is the default \u201cStart Director Command\u201d for iSeries:<\/p>\n<pre>SBMJOB CMD(QSH CMD('cd \/minisoft ; \/QOpenSys\/QIBM\/ProdData\/JavaVM\/jdk80\/32bit\/bin\/java -Djava.awt.headless=true -Duser.dir=\/minisoft -jar \/minisoft\/Run.jar \/minisoft com.minisoft.Director.Director')) JOB(DIRECTOR) JOBD(*USRPRF)<\/pre>\n<p>Reformatting this command makes it easier to figure out what is going on:<\/p>\n<pre>SBMJOB CMD(\n\n\u00a0\u00a0 QSH CMD('cd \/minisoft ;\n\n\u00a0\u00a0\u00a0\u00a0\u00a0 \/QOpenSys\/QIBM\/ProdData\/JavaVM\/jdk80\/32bit\/bin\/java\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -Djava.awt.headless=true\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -Duser.dir=\/minisoft\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -jar \/minisoft\/Run.jar\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/minisoft com.minisoft.Director.Director'\n\n\u00a0\u00a0 )\n\n)\n\nJOB(DIRECTOR)\n\nJOBD(*USRPRF)<\/pre>\n<p>This creates a job with the name \u201cDIRECTOR\u201d that runs the QSH command shown. We need to replace the path to the Java command with the correct one for the iSeries operating system and installed Java version. Refer to the above section \u201cFinding the Java Version Installed on iSeries\u201d to learn how to do that.<\/p>\n<h3>Example with 64-Bit Java<\/h3>\n<p>Let\u2019s say that you research which Java versions are installed, and you find a 64-bit Java version installed in the following path:<\/p>\n<p><code>\/QOpenSys\/QIBM\/ProdData\/JavaVM\/jdk80\/64bit\/bin\/java<\/code><\/p>\n<p>Putting this into the SBMJOB string above gives us the following string that will start Director as a 64-bit process:<\/p>\n<pre>SBMJOB CMD(\n\n\u00a0\u00a0 QSH CMD('cd \/minisoft ;\n\n\u00a0\u00a0\u00a0\u00a0\u00a0 \/QOpenSys\/QIBM\/ProdData\/JavaVM\/jdk80\/64bit\/bin\/java\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -Djava.awt.headless=true\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -Duser.dir=\/minisoft\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -jar \/minisoft\/Run.jar\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/minisoft com.minisoft.Director.Director'\n\n\u00a0\u00a0 )\n\n)\n\nJOB(DIRECTOR)\n\nJOBD(*USRPRF)<\/pre>\n<p>Copy this string into the \u201cStart Director Command\u201d:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries11.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6082\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries11.png\" alt=\"\" width=\"720\" height=\"628\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries11.png 720w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries11-300x262.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries11-150x131.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries11-250x218.png 250w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries11-550x480.png 550w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries11-206x180.png 206w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries11-344x300.png 344w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries11-573x500.png 573w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>Then click Start. If there are no errors and the Director starts successfully, you will see the running configuration files and tasks, as shown in the example below:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries12.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6083\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries12.png\" alt=\"\" width=\"720\" height=\"394\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries12.png 720w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries12-300x164.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries12-150x82.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries12-250x137.png 250w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries12-550x301.png 550w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries12-329x180.png 329w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries12-548x300.png 548w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>If an error occurs on starting the Director, that error will be displayed as shown below. To simulate an error, I change the path to the java command to an invalid path (note the \u201cjdk90\u201d in the path):<\/p>\n<p><code>\/QOpenSys\/QIBM\/ProdData\/JavaVM\/jdk90\/64bit\/bin\/java<\/code><\/p>\n<p>When I click Start, I now see the following error:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries13.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6084\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries13.png\" alt=\"\" width=\"469\" height=\"270\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries13.png 469w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries13-300x173.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries13-150x86.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries13-250x144.png 250w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries13-313x180.png 313w\" sizes=\"(max-width: 469px) 100vw, 469px\" \/><\/a><\/p>\n<p>Click the Cancel button. Now we need to figure out why the Director failed to launch.<\/p>\n<h2>Troubleshooting Start Director as an Automated Process<\/h2>\n<p>For some reason, the Director does not start successfully when you pressed Start on the Director tab of the Director Toolkit for iSeries. How do you figure out what went wrong? To find the answer, you need to first launch a terminal session with the iSeries. Pick your favorite tn5250 terminal emulator (Minisoft has one!), and connect to the iSeries and login. When you are at the main menu, your screen should look like this:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries14.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6085\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries14.png\" alt=\"\" width=\"604\" height=\"381\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries14.png 604w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries14-300x189.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries14-150x95.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries14-250x158.png 250w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries14-550x347.png 550w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries14-285x180.png 285w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries14-476x300.png 476w\" sizes=\"(max-width: 604px) 100vw, 604px\" \/><\/a><\/p>\n<p>Type \u201cwrkjob director\u201d at the prompt, then press Enter:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries15.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6086\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries15.png\" alt=\"\" width=\"604\" height=\"381\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries15.png 604w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries15-300x189.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries15-150x95.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries15-250x158.png 250w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries15-550x347.png 550w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries15-285x180.png 285w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries15-476x300.png 476w\" sizes=\"(max-width: 604px) 100vw, 604px\" \/><\/a><\/p>\n<p>A list of jobs named \u201cDIRECTOR\u201d is shown. You probably want the one with the most recent date (12\/21\/17 in the screen shot below), so type a \u201c1\u201d in the Option column for the one you want:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries16.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6088\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries16.png\" alt=\"\" width=\"604\" height=\"378\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries16.png 604w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries16-300x188.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries16-150x94.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries16-250x156.png 250w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries16-550x344.png 550w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries16-288x180.png 288w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries16-479x300.png 479w\" sizes=\"(max-width: 604px) 100vw, 604px\" \/><\/a><\/p>\n<p>When you press Enter, you are given a list of tasks you can perform with the job:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries17.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6089\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries17.png\" alt=\"\" width=\"603\" height=\"378\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries17.png 603w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries17-300x188.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries17-150x94.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries17-250x157.png 250w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries17-550x345.png 550w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries17-287x180.png 287w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries17-479x300.png 479w\" sizes=\"(max-width: 603px) 100vw, 603px\" \/><\/a><\/p>\n<p>A record of what happened when the job was run is kept in a spool file, so you want to select the option \u201c4. Work with spooled files\u201d, by typing a 4 and pressing Enter, to show the following screen with the contents of the spool file:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries18.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6090\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries18.png\" alt=\"\" width=\"602\" height=\"377\" srcset=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries18.png 602w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries18-300x188.png 300w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries18-150x94.png 150w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries18-250x157.png 250w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries18-550x344.png 550w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries18-287x180.png 287w, https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/iSeries18-479x300.png 479w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/a><\/p>\n<p>The error message in the spool file indicates that the command \u201cQOpenSys\/QIBM\/ProdData\/JavaVM\/jdk90\/64bit\/bin\/java\u201d could not be found. That is because \u201cjdk90\u201d was entered instead of \u201cjdk80\u201d. I can now go back and correct the command and start the Director again.<\/p>\n\n\n<p><strong>Related posts<\/strong><\/p>\n\n\n\n<ul><li><a href=\"\/support\/index.php\/license-eformz-on-an-as400-iseries-system\/\">License eFORMz on an iSeries System<\/a><\/li><li><a href=\"\/support\/index.php\/getting-a-new-instance-of-eformz-licensed\/\">Getting a New Instance of eFORMz licensed<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This post describes setting up eFORMz on iSeries, including licensing eFORMz and setting up the Director to run as an automated process. Licensing eFORMz on iSeries For additional details, consult the following post on creating\u00a0an unsigned license file:\u00a0License eFORMz on an AS\/400 (iSeries) system Connect to the iSeries using a tn5250 terminal emulator, such 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":[3,106,186],"tags":[81,45,107,220],"_links":{"self":[{"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6070"}],"collection":[{"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=6070"}],"version-history":[{"count":10,"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6070\/revisions"}],"predecessor-version":[{"id":9033,"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6070\/revisions\/9033"}],"wp:attachment":[{"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=6070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=6070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alt2.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=6070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}