Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Package Product for Distribution (PKGPRDDST) command saves a copy of the objects that make up a product into a save file so the product can be distributed electronically. A distribution catalog entry is created for the product, and the packaged product is loaded into the distribution repository.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
PRDID | Product ID | Character value | Required, Positional 1 |
RLS | Release level | Character value, *ONLY | Optional |
OPTION | Product option | 1-99, *BASE | Optional |
LODTYPE | Product load type | *ALL, *CODE, *LNG | Optional |
LODID | Load ID | Character value, *CODE, *ALL | Optional |
TGTRLS | Target release | *CURRENT, *PRV, V5R2M0, V5R3M0, V5R4M0 | Optional |
SAVF | Save file | Single values: *NONE Other values: Qualified object name |
Optional |
Qualifier 1: Save file | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
AUTL | Authorization list | Character value, QCQRPSAUTL | Optional |
REPLACE | Replace | *NO, *YES | Optional |
Top |
Top |
Specifies which version, release, and modification level of the product is saved.
Top |
Specifies which optional parts of the product identified in the Product ID (PRDID) parameter are saved.
Top |
Specifies the product load objects being saved.
Top |
Specifies the load identifier used for the save operation.
Top |
Specifies the release of the operating system on which you intend to use the object.
Valid values depend on the current version, release, and modification level, and they change with each new release.
Top |
Specifies the qualified name of the save file that contains the product packaged for distribution.
*NONE A save file containing the product is not provided to package a product for distribution.
The name of the object can be qualified by one of the following library values:
Top |
Specifies the name of the authorization list of the distribution repository object. This parameter is valid only when SAVF(*NONE) is specified.
Top |
Specifies whether the existing packaged product is replaced if the packaged product already exists in the distribution repository.
Top |
Example 1: Package the Base Option for Distribution
PKGPRDDST PRDID(5722PT1) OPTION(*BASE)
This command saves the BASE option of the Performance Tools licensed program for both the code and language parts. It then creates the following distribution catalog entry and stores the saved product into the distribution repository:
I3IBM1 AS400 5722PT1 V5R2M0 BASE ALL ALL REF 001 V5R2M0
Example 2: Package the Program Objects
PKGPRDDST PRDID(ACCOUNT) RLS(V5R2M0) LODTYPE(*CODE) LODID(*CODE)
This command packages the V5R2M0 ACCOUNT product for distribution and saves only the program objects for the product. The command also creates the following distribution catalog entry and stores the saved product into the distribution repository:
I3IBM1 AS400 ACCOUNT V5R2M0 BASE CODE CODE REF 001 V5R2M0
Example 3: Package the Language Objects
PKGPRDDST PRDID(ACCOUNT) LODTYPE(*LNG) LODID(2924)
This command packages the English version of the ACCOUNT product for distribution and creates the following distribution catalog entry and stores the saved product into the distribution repository:
I3IBM1 AS400 ACCOUNT V5R2M0 BASE LNG 2924 REF 001 V5R2M0
Example 4: Package the Product for Distribution
PKGPRDDST PRDID(BILLS01) SAVF(*LIBL/BILLSAVF)
This command packages the V5R2M0 BILLS01 product for distribution for both the code and language parts. The product is not saved because the save file containing the product was specified. This command also creates the following distribution catalog entry and stores the saved product into the distribution repository:
I3IBM1 AS400 ACCOUNT V5R2M0 BASE ALL ALL REF 001 V5R2M0
Top |
*ESCAPE Messages
Top |