To remove a WebSphere MQ client from your HP-UX system, use the swremove command, or use SAM. You can then delete the /var/mqm directory tree.