Below is a description of how you can run InterFormNG2 in an iASP. The is not really supported, but you use the description to force InterFormNG2 into an iASP.
This is divided into two sections:
1.Changes to library IFORMNG2 to run from a user iASP.
2.Changes to move the IFORMNG2 folder to a user iASP.
In this example, InterformNG2 are restored to IFORMNG2 in a IASP and
a library IFORMNG2S with a few objects are created in the system ASP.
1. Specify IASP1 in the user ASP, when restoring/installing InterformNG2.
2. Create launch library in the normal system ASP.
CRTLIB LIB(IFORMNG2S) ASPDEV(*SYSTEM)
3. Copy jobqueue, subsystem- and jobdescriptions from IFORMNG2 to IFORMNG2S
CRTDUPOBJ OBJ(IFORMNG2) FROMLIB(IFORMNG2) OBJTYPE(*SBSD) TOLIB(IFORMNG2S)
CRTDUPOBJ OBJ(IFORMNG2) FROMLIB(IFORMNG2) OBJTYPE(*JOBQ) TOLIB(IFORMNG2S)
CRTDUPOBJ OBJ(*ALL) FROMLIB(IFORMNG2) OBJTYPE(*JOBD) TOLIB(IFORMNG2S)
4. Change jobdescriptions and add asp group.
CHGJOBD JOBD(IFORMNG2S/IFORMNG2) INLASPGRP(IASP1)
CHGJOBD JOBD(IFORMNG2S/NG2MONITOR) INLASPGRP(IASP1)
CHGJOBD JOBD(IFORMNG2S/NG2SERVER) INLASPGRP(IASP1)
CHGJOBD JOBD(IFORMNG2S/NG2TOOLS) INLASPGRP(IASP1)
5. Change subsystem and add asp group.
CHGSBSD SBSD(IFORMNG2S/IFORMNG2) ASPGRP(IASP1)
6. Change subsystem and change autostart job entries.
RMVAJE SBSD(IFORMNG2S/IFORMNG2) JOB(NG2MONITOR)
RMVAJE SBSD(IFORMNG2S/IFORMNG2) JOB(NG2SERVER)
RMVAJE SBSD(IFORMNG2S/IFORMNG2) JOB(NG2TOOLS)
ADDAJE SBSD(IFORMNG2S/IFORMNG2) JOB(NG2MONITOR) JOBD(IFORMNG2S/NG2MONITOR)
ADDAJE SBSD(IFORMNG2S/IFORMNG2) JOB(NG2SERVER) JOBD(IFORMNG2S/NG2SERVER)
ADDAJE SBSD(IFORMNG2S/IFORMNG2) JOB(NG2TOOLS) JOBD(IFORMNG2S/NG2TOOLS)
7. Change subsystem and change job queue library.
RMVJOBQE SBSD(IFORMNG2S/IFORMNG2) JOBQ(IFORMNG2/IFORMNG2)
ADDJOBQE SBSD(IFORMNG2S/IFORMNG2) JOBQ(IFORMNG2S/IFORMNG2) MAXACT(200)
8. Change Toolshed dataarea and change job queue library.
CHGDTAARA DTAARA(IFORMNG2/TOOLSCFG (11 10)) VALUE('IFORMNG2S ')
9. Change Server dataarea and change the subsystem library.
CHGDTAARA DTAARA(IFORMNG2/LIBSYSASP *ALL) VALUE('IFORMNG2S ')
1.CRTSAVF FILE(QGPL/NG2FLR) (Create a temporary save file)
2.SAV DEV('/QSYS.LIB/QGPL.LIB/NG2FLR.FILE') OBJ(('/IFormNG2')) PVTAUT(*YES) (Save the IFormNG2 folder to the save file)
3.CRTDIR DIR('IASP1/IFormNG2') DTAAUT(*RX) OBJAUT(*OBJMGT) (Create the new folder with the same name in the iASP).
4.CHGOWN OBJ('IASP1/IFormNG2') NEWOWN(IFORMNG2) (Change the owner of the new folder to IFORMNG2)
5.CHGAUT OBJ('IASP1/IFormNG2') USER(IFORMNG2) DTAAUT(*RWX) OBJAUT(*ALL) (Set the access/authority to the new folder. You can restrict it more if needed).
6.RST DEV('/QSYS.LIB/QGPL.LIB/NG2FLR.FILE') OBJ(('/IFormNG2' *INCLUDE '/IASP1/IFormNG2')) PATTERN((* *INCLUDE)) (Restore into the iASP)
7.RNM OBJ('/IFormNG2') NEWOBJ('IFormNG2Org') (Rename the original folder in the system asp. You can consider to delete that later)
8.ADDLNK OBJ('/IFormNG2') NEWLNK('/IASP1/IFormNG2') LNKTYPE(*SYMBOLIC) (Add a symbolic link to the folder in the iASP)