Send package command

You can use the istool command-line interface (CLI) to send package files to a local client computer.

Purpose

The istool send package command sends a deployment package from the metadata repository to a file on a local client computer. You can deploy a package from the local client computer by using the deploy package command with the -localfile option.

You must first define the package in the InfoSphere® Information Server Manager, including specifying the assets that it contains and the build and deploy paths. In a clustering environment, set the build and deploy paths to shared directories that are accessible from every cluster node. The package is built by using the istool build package command.

Command syntax

The preferred way to run this command is in the istool command-line window. If you run this command in your operating system command-line window or in scripts, you must add istool to the command name.
istool> send package 
authentication options
[generic options] 
-package package
-file deployfile
[-replace] 

Command options

authentication options
Use authentication options to connect to a specific installation of InfoSphere Information Server.
generic options
Use the generic options to request help on command syntax, or to specify silent or verbose operation.
-package name or -pkg name
Specifies the name of an existing deployment package definition in the metadata repository. The package must already be built.
-file name or -f name
Specifies the fully qualified name of a file on the local file system of the client computer to send the deployment package to.
-replace
Replaces the file if it exists on the computer.

Exit status

A return value of 0 indicates successful completion, any other value indicates failure. The list of exit codes is shown in the command help. Enter istool> send package -help to see the list of possible exit codes for the send package command.

Example

The following command sends the deployment package, package1, from the system named sliver to a file, package1.pkg in the folder "c:\package dir" in the local file system.
istool> send package –domain sliver:9443   
-username user1 -password pass1  
-package package1
-file "c:\package dir\package1.pkg" 
-replace