Uninstall EAR files Use the commands to uninstall EAR Files. To set your Lawson environment variables and path, execute a CALL LAWENV command. At the OS/400 command prompt, specify: CALL LAWENV LawsonEnvironmentName Run this command to set the environment variable WAS_HOME: export WAS_HOME= For example, export WAS_HOME=/QIBM/UserData/WebSphere/AppServer/V85/ND Navigate to the directory where the script is located. At the command prompt: cd $GENDIR/install/websphere/deploy Run one of these commands: Uninstall a single product perl deployEarUtil.pl -ta uninstall -pr LSFProduct For example: perl deployEarUtil.pl -ta uninstall -pr IOS Uninstall all products perl deployEarUtil.pl -ta uninstall -pr All