Previous Topic: How to Remove the AgentNext Topic: Controlling the Agent


Uninstall the Agent

You might want to uninstall the agent if you have upgraded it from a previous release or if you want to remove the agent from your system.

To uninstall the agent

  1. Ensure all workload is complete.
  2. Stop the agent.
  3. Ensure the current library is not the library that contains the agent objects and the current path is not the path to the agent installation directory.
  4. Enter the following command from the i5/OS command line:

    ENDSBS libraryname

    libraryname

    Specifies the name of the library that contains the required agent objects.

    The library stops.

  5. Open a PASE terminal session.
  6. Enter the following command from the PASE command line:
    rm -rf agentdir
    
    agentdir

    Specifies the directory that contains the agent program files.

    The directory is deleted.

  7. Enter the following command from the i5/OS command line:
    CLRLIB libraryname
    

    The library contents are deleted.

  8. Enter the following command:
    DLTLIB libraryname
    

    The library is deleted, and the agent is uninstalled.