Latest News

the latest news from our team

Install AS400/iSeries Commands

Last Updated on by

Create an eFORMz Library. At the command line enter the following:

CRTLIB LIB(EFZLIB) TEXT('Minisoft eFORMz Library')

Create an eFORMz Job Queue. At the command line enter the following:

CRTJOBQ JOBQ(EFZLIB/EFZJOBQ) TEXT('Minisoft eFORMz Job Queue')

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 *BASE)) TEXT('Minisoft eFORMz Subsystem')

Start the subsystem:

STRSBS SBSD(EFZLIB/EFZSBS)

To determine the next available sequence number, enter the following at the command line:

DSPSBSD SBSD(EFZLIB/EFZSBS)

Note: Select option #6 (Job Queue Entries) and check for an unused sequence number.

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:

ADDJOBQE SBSD(EFZLIB/EFZSBS) JOBQ(EFZLIB/EFZJOBQ) MAXACT(3) SEQNBR(10)

Create a class for the Subsystem Routing:

CRTCLS CLS(EFZLIB/EFZCLS) RUNPTY(50) TEXT('Minisoft eFORMz Class')

Add job routing to the Subsystem:

ADDRTGE SBSD(EFZLIB/EFZSBS) SEQNBR(1999) CMPVAL(*ANY) PGM(QCMD) CLS(EFZLIB/EFZCLS)

Create a new eFORMz User. At the command line enter the following:

CRTUSRPRF USRPRF(EFORMZ) USRCLS(*SYSOPR) TEXT('Minisoft eFORMz User') JOBD(EFZLIB/EFZJOBD)

Start eFORMz (Service Manager):

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)


Stop eFORMz (Service Manager)

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 > /minisoft/log/logfile')

Additional Resources:

eFORMz iSeries Deployment Options
Installing eFORMz on iSeries/AS400
iSeries/AS/400 Roadmap
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
Troubleshooting: Missing or Lost Data on iSeries

Leave a Reply

Your email address will not be published. Required fields are marked *

*

code