eFORMz Job Queue (Running the Director on the iSeries)
To update the SBMJOB to include the newly created JOBD, here is a listing of the command to use on the AS/400 (iSeries/IBM i) followed by the SBMJOB to use the new JOBD. The ‘default’ SBMJOB has JOBD(*USERPRF).
CRTLIB LIB(EFZLIB) TEXT('eFORMz Library') CRTJOBQ JOBQ(EFZLIB/EFZJOBQ) TEXT('eFORMz Job Queue') CRTJOBD JOBD(EFZLIB/EFZJOBD) JOBQ(EFZLIB/EFZJOBQ) TEXT('eFORMz Job Description') DSPSBSD SBSD(QBASE) #6 ADDJOBQE SBSD(QBASE) JOBQ(EFZLIB/EFZJOBQ) SEQNBR(12) STRSBS SBSD(QBASE) WRKUSRPRF USRPRF(EFORMZ) CHGUSRPRF USRPRF(EFORMZ) JOBD(EFZLIB/EFZJOBD) 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) 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')
Additional Resources on Running the Director on the iSeries
iSeries/AS/400 Roadmap
Installing eFORMz on iSeries/AS400
Setting Up eFORMz on the iSeries
License eFORMz on an AS/400 (iSeries) system
Director Setup for AS400/iSeries
Add eFORMz Director to the iSeries/AS/400 startup program
iSeries (AS/400) Automation and Director Commands
iSeries: User Running the Director Must Have a Password
Adding a Remote iSeries Queue to a toolkit configuration file
iSeries Data Queue