Previous Topic: Display Shipment StatusNext Topic: Package Ship SCL Examples


The Ship Package Action

Use the Ship Package statement to ship a package to a remote site. You can ship the package output members or the package backout members. The Ship Package statement lets you indicate the package you want to ship, the destination you want to ship to, whether you want to ship output or backout members, and the data set name prefix to be used in the XCOM or CONNECT:DIRECT transmission methods.

This statement has the following syntax:

►►─ SHIP PACkage ─ package ─ name ─┬─────────────────────────────────────┬─►
                                   └─ TO DEStination ─ destination-name ─┘
            ┌─ OUTput ──┐
 ►─ OPTion ─┤───────────┤───────┬──────────────────┬─── . ────────────────►◄
            └─ BACkout ─┘       └─ PREfix ─ prefix ┘
SHIP PACKAGE package-name

Indicates the one- to 16-character name of the package you want to ship.

TO DESTINATION destination-name

Indicates the one- to eight-character name of the remote site to which you want to ship the specified package. The destination name can be alphanumeric, but must begin with an alphabetic character.

This information is required. If you do not enter a destination here, a SET DESTINATION statement with the appropriate information must have been previously coded.

OPTION OUTPUT/BACKOUT

Indicates whether you want to ship output members or backout members to the remote site. If you do not indicate an option here, the system looks for a SET OPTION statement. If no SET OPTION clause is found, the system defaults to Option Output, and automatically ships output members to the remote site.

OUTPUT

Indicates that you want to ship the members created by the execution of the package.

BACKOUT

Indicates that you want to ship the members needed to backout a package.

PREfix prefix

Indicates the one- to eight-character data set name prefix to be used in the XCOM or CONNECT:DIRECT transmission methods. If the transmission method selected is not XCOM or CONNECT:DIRECT, this option is ignored. More than one node can be specified for the Package Ship output prefix, as long as the nodes, with separating periods, fit within the eight-character space.