In order to uninstall our products, first of all we need to run the UNINSTALL command located in each one of our products libraries.
We need to stop each one of the subsystems:
ENDSBS SBS(VISUALW) OPTION(*IMMED)
ENDSBS SBS(JOBCTL) OPTION(*IMMED)
ENDSBS SBS(T4NICELINK) OPTION(*IMMED)
After that we can check if there is any locked object in our libraries
WRKOBJLCK T4NICELINK *LIB
WRKOBJLCK B_DETECTOR *LIB
WRKOBJLCK JOBCTL *LIB
WRKOBJLCK VISUALW *LIB
Then we will proceed with the uninstall
For Visual Support: VSCREEN / UNINSTALL
For Visual Debugger: VISUALW/UNINSTALL
For Visual Control for Jobs, Pools y Windows: JOBCTL/UNINSTALL
For Visual Message Center: B_DETECTOR/UNINSTALL
For Nicelink: T4NICELINK/UNINSTALL
You can uninstall the products in a random order but the last product you uninstall must be NICELINK.
We need to remove the JobQueues:
RMVJOBQE SBSD(QSYSWRK) JOBQ(JOBCTL/V_CONTROL)
RMVJOBQE SBSD(QSYSWRK) JOBQ(T4NICELINK/STRSBSNLK)
The last step should be deleting the libraries (only if the uninstaller doesn't delete them)
DLTLIB LIB(VISUALW)
DLTLIB LIB(JOBCTL)
DLTLIB LIB(B_DETECTOR)
DLTLIB LIB(T4NICELINK)
DLTCMD CMD(QGPL/UNINSTALL)
DLTMSGQ MSGQ(QGPL/T4_INSTALL)
The commands following commands will completely remove PN/400 from your AS/400.
1) DLTLIB MPGLIB, MPGLIBOBS, MPGLIBDST
2) RMVJOBSCDE PERFNAV*
Still have questions? We can help. Submit a case to Technical Support.