This command undeploys a component from the server.
zosadmin undeploy [--session=] component|dir
Specify the deployed file or a directory containing the deployed files.
Specify the deployment session ID.
Turn on verbose output during this operation.
Turn on debug output during this operation.
Display a help message for this operation.
To undeploy the service myservice.sar, use the following command:
zosadmin undeploy myservice.sar
To undeploy the job file quickie.job from the server, use the following command:
zosadmin undeploy quickie.job
To undeploy the job files in directory /test/myjob.job, use the following command:
zosadmin undeploy quickie.job