You can use the -updateFromVersion option to specify the version of the package that you are updating from.
For IBM Packaging Utility versions 1.5.2 and later, the
-updateFromVersion option is a technology preview.
Information about the
-updateFromVersion option to copy only the files that are required to update to a later version. The
version value is the version of the package that you are updating from. The package that you are copying is the version that you are updating to. An update might require files from a base offering. Use the
-repositories option to list the repository for the base offering.
Use with the command:
This option works only with packages. This option does not work with fixes.
Copy a package using the -updateFromVersion option
1. Install IBM Packaging Utility versions 1.5.2 or later. You also can use the stand-alone version of Packaging Utility versions 1.5.2 or later.
2. Open a command-line utility.
-updateFromVersionoption is available only for the Packaging Utility command line (PUCL).
3. Open the Packaging Utility directory:
Linux, UNIX, and z/OS:
4. Identify the repository that you are copying from.
5. If you do not know the ID and version for the package, run the
PUCL listAvailablePackages -repositories source_repository
The returned information is a list of packages in the format:
6. Copy the files to update from one version to another version:
PUCL copy packageID_version -updateFromVersion version -repositories source_repository -target destination_repository
PUCL.exe copy com.ibm.package_1.2 -updateFromVersion 1.1 -repositorieshttp://server/repository/package -target "C"\IBM\IBM Packages\"
Linux, UNIX and z/OS:
./PUCL copy com.ibm.package_1.2 -updateFromVersion 1.1 -repositorieshttp://server/repository/package -target /var/ibm/ibm_packages
After you run the command, a repository is created that contains the files for updating from the specified version.
For information about the
PUCLcommand and options, see the IBM Installation Manager Information Center.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.