deploy

This command deploys a new component onto a server.

Syntax

Enter the command using the syntax shown below. Available options are shown in brackets.

zosadmin deploy [--port=] file|dir

Arguments

file|dir

Specify the deployable file or a directory containing deployable files.

Options

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.

-v, --verbose

Turn on verbose output during this operation.

-V, --debug

Turn on debug output during this operation.

-h, --help

Display a help message for this operation.

Examples

Example 1

To deploy the service file myservice.sar, use the following command:

zosadmin deploy myservice.sar

Example 2

To deploy the job file quickie.job, use the following command:

zosadmin deploy quickie.job

Example 3

To deploy a job file in the /test/myjob.job directory, use the following command:

zosadmin deploy /test/myjob.job