This command redeploys a component onto a server.
Enter the command using the syntax shown below. Available options are shown in brackets.
zosadmin redeploy [--session=] file|dir
Specify the deployable file or a directory containing deployable files.
When you add an option, use the syntax in the command line as shown above (where options are shown in their long form). Short and long options for this command are listed below.
Specifies 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 redeploy the service file myservice.sar, use the following command:
zosadmin redeploy myservice.sar
To redeploy the job file quickie.job, use the following command:
zosadmin redeploy quickie.job
To redeploy the job files in directory /test/myjob.job, use the following command:
zosadmin redeploy /test/myjob.job