Overview
This guide provides the necessary commands for installing eFORMz on an AS/400 system. It can also serve as a reference for troubleshooting potential steps that may have been missed during a migration of eFORMz to a different system.
Symptoms
- Unable to process jobs using eFORMz on AS400/iSeries.
- Job queues are not functioning as expected.
- Subsystem not starting or failing during execution.
- User profile for eFORMz missing or misconfigured.
Possible Causes
- Missing or incorrect library setup.
- Job queue not properly created or linked to the subsystem.
- Incorrect or missing job description and class assignments.
- User profile not configured properly.
- Service Manager not started correctly.
Troubleshooting Steps
-
Create an eFORMz Library
- Enter the following command at the command line:
CRTLIB LIB(EFZLIB) TEXT('Minisoft eFORMz Library')
- Enter the following command at the command line:
-
Create an eFORMz Job Queue
- Run the command:
CRTJOBQ JOBQ(EFZLIB/EFZJOBQ) TEXT('Minisoft eFORMz Job Queue')
- Run the command:
-
Create an eFORMz Job Description
- Execute:
CRTJOBD JOBD(EFZLIB/EFZJOBD) JOBQ(EFZLIB/EFZJOBQ)
- Execute:
-
Create and Start a Subsystem
- Run the following:
CRTSBSD SBSD(EFZLIB/EFZSBS) POOLS((1 *BASE)) TEXT('Minisoft eFORMz Subsystem') STRSBS SBSD(EFZLIB/EFZSBS)
- Run the following:
-
Determine Next Available Sequence Number
- Enter:
DSPSBSD SBSD(EFZLIB/EFZSBS) - Select option #6 (Job Queue Entries) and check for an unused sequence number.
- Enter:
-
Attach Job Queue to Active Subsystem
- Use the previously determined sequence number or
10for a new/empty SBSD:ADDJOBQE SBSD(EFZLIB/EFZSBS) JOBQ(EFZLIB/EFZJOBQ) MAXACT(3) SEQNBR(10)
- Use the previously determined sequence number or
-
Create a Class for Subsystem Routing
- Execute:
CRTCLS CLS(EFZLIB/EFZCLS) RUNPTY(50) TEXT('Minisoft eFORMz Class')
- Execute:
-
Add Job Routing to Subsystem
- Run:
ADDRTGE SBSD(EFZLIB/EFZSBS) SEQNBR(1999) CMPVAL(*ANY) PGM(QCMD) CLS(EFZLIB/EFZCLS)
- Run:
-
Create a New eFORMz User
- Enter the command:
CRTUSRPRF USRPRF(EFORMZ) USRCLS(*SYSOPR) TEXT('Minisoft eFORMz User') JOBD(EFZLIB/EFZJOBD)
- Enter the command:
-
Start eFORMz (Service Manager)
- Execute the following command:
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)
- Execute the following command:
-
Stop eFORMz (Service Manager)
- Run:
QSH CMD('cd /minisoft ; /QOpenSys/QIBM/ProdData/JavaVM/jdk80/64bit/bin/java -Djava.awt.headless=true -Duser.dir=
- Run:
Assistance
If any further assistance is needed, please contact our Support team.
Related Articles
Comments
0 comments
Article is closed for comments.