Issue description

In order to uninstall our products, first of all we need to run the UNINSTALL command located in each one of our products libraries.

Step 1

We need to stop each one of the subsystems:
ENDSBS SBS(VISUALW) OPTION(*IMMED)
ENDSBS SBS(JOBCTL) OPTION(*IMMED)
ENDSBS SBS(T4NICELINK) OPTION(*IMMED)

Step 2

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

Step 3

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.

Step 4

We need to remove the JobQueues:
RMVJOBQE SBSD(QSYSWRK) JOBQ(JOBCTL/V_CONTROL)
RMVJOBQE SBSD(QSYSWRK) JOBQ(T4NICELINK/STRSBSNLK)

Step 5

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)

For VCPP (Visual Control Performance Planner):

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.

Last Modified On: January 14, 2019