Previous Topic: The Backout Package ActionNext Topic: The Cast Package Action


Backout Package Syntax

►►─ BACKOut PACkage ─ package-id ──────────────────────────────────────────────►
►─┬────────────────────────────────────────────────────────┬─ . ──────────────►◄
  └─ STATEment ┬──────────┬ nnnnn ─ ELEment ─ element-name─┘
               └─ NUMber ─┘

The clausesBACKOUT PACKAGE, STATEMENT NUMBER, and ELEMENT can be specified in any order. Name-masking cannot be used for any variable in the statement.

BACKOUT PACKAGE package-id

Specifies the package you want to back out. You must use a fully specified package ID. You can include imbedded spaces in the package ID. If the package ID contains an imbedded space or if the ID comprises only numeric characters (for example, 12345), then enclose the package ID in either single or double quotation marks.

STATEMENT NUMBER nnnnn ELEMENT element-name

Specifies the SCL statement number and the element name for the element action you want to back out. This clause limits the BACKOUT PACKAGE clause by enabling you to specify the element actions you want to back out. If you want to back out all the element actions in the package, do not use this clause. The NUMBER keyword is optional.For each element action you want to back out, a separate BACKOUT package action statement with PACkage, STATEment NUMber and ELEment clauses must be provided; only one package element action can be backed out per statement. Valid values for nnnnn are 1 – 65535. This batch syntax does not support long-named elements. You can backout or backin an individual long-named element in foreground.

Example: Backout Package SCL

The following is an example of BACKOUT PACKAGE SCL. The SCL backs out the package called PAYROLLPKG01.

BACKOUT PACKAGE PAYROLLPKG01.