Software Distributor Administration Guide (March 2009)

Table Of Contents
Phase I: Selection
When you run swpackage, you must specify a PSF and any other options you wish
to include. The swpackage command begins the session by telling you the source,
target, software selections, and options used to:
Determine the product, subproduct, and fileset required for the structure
Determine which files are contained in each fileset
Determine the attributes associated with each objects
Check PSF syntax and terminate the session if any validation errors are encountered
Phase II: Analysis
swpackage performs four checks during this phase:
1. Check for unresolved dependencies.
For every fileset in each selected product, swpackage checks to see if a requisite
of the fileset is not also selected or not already present in the target depot.
Unresolved dependencies within the product generate errors. Unresolved
dependencies across products produce notes.
2. Check your authorization to package (or re-package) products.
For each new product (a product that does not exist on the target depot) swpackage
checks the target depot to see if you have permission to create a new product on
it (insert permission). If you do not, the product is not selected.
For each existing product (one you are re-packaging) swpackage checks to see if
you have permission to change it (write permission). If you do not, the product is
unselected.
If all products are not selected because permission is denied, the session terminates
with an error.
If the depot is a new depot or if you are packaging to a tape, this authorization
check is skipped. If you have permission to create a new depot, then you have
permission to create products within it. Since a tape session first writes to a
temporary depot then copies it to tape, if you have permission to create a new
(temporary) depot, you can package to tape.
10.5 Packaging the Software (swpackage) 251