Command reference / sys
APYPTF
Apply Program Temporary Fix
Applies previously loaded program temporary fixes for a product. Fixes may be applied temporarily or permanently, immediately or at the next unattended IPL.
Allowed environments: *ALL.
Positional parameters: 1.
Parameters
LICPGM
Product
Sets the 7-character identifier of the product for which the PTFs are to be applied. Note: LICPGM(*ALL) is valid only if SELECT(*ALL) is specified, and OMIT is not specified on this command.
Suggested / special values:
*ALL
*ALL- PTFs are applied to all products installed on the system.
character-value- Enter the 7-character product identifier to which PTFs are applied.
RLS
Release
Sets the release level of the software product. If multiple releases are installed, the release is required.
Suggested / special values:
*ONLY, *ALL
*ONLY- This value is valid only when one release of the product's base option is installed on the system. PTFs for all installed options of the product are applied regardless of the release-level of the option.
*ALL- The PTFs for all releases of the installed products are applied. This value is valid only when LICPGM(*ALL) is specified.
character-value- Enter the release level in one of the following formats: VxRyMz, where Vx is the version number, Ry is the release number, and Mz is the modification level.
SELECT
PTF numbers to select
Sets the previously loaded PTFs that are to be applied to the specified product. The PTF numbers to omit (OMIT) parameter cannot be specified if single PTF numbers are specified on the SELECT parameter.
Suggested / special values:
*ALL
*ALL- All the PTFs that were loaded are to be applied to the product. If all PTFs cannot be applied, messages are sent indicating the PTFs that were not applied and the reasons (for example, required PTFs were not yet applied).
character-value- Enter the identification number of each PTF to apply.
OMIT
PTF numbers to omit
Sets the PTF numbers that are not applied. Up to 300 PTF numbers can be specified. Note: The OMIT parameter cannot be specified if single PTF numbers are specified for the PTF numbers to select (SELECT) parameter.
character-value- Enter the identification number of each PTF to omit.
APY
Extent of change
Controls whether the PTFs are applied on a temporary or permanent basis. Permanently applied PTFs cannot be removed; temporarily applied PTFs can be removed by the Remove Program Temporary Fix (RMVPTF) command.
Allowed values:
*TEMP, *PERM
*TEMP- The PTFs are applied as temporary PTFs.
*PERM- The PTFs are applied permanently.
DELAYED
Delayed PTFs
Controls whether immediate PTFs are applied at the time the command is processed or whether immediate and delayed PTFs are applied during the next unattended IPL.
Allowed values:
*NO, *YES, *IMMDLY
*NO- Immediate PTFs that do not supersede delayed PTFs are applied at the time the command is processed. Delayed PTFs and immediate PTFs with delayed prerequisite or corequisite PTFs are ignored during the APYPTF request and are not applied.
*YES- The PTFs identified, regardless of whether they are defined as delayed or immediate, are applied during the next unattended IPL.
*IMMDLY- All the immediate PTFs that do not supersede delayed PTFs are applied and the delayed PTFs or PTFs with delayed prerequisites or corequisites are set to be applied at the next unattended IPL.
IPLAPY
IPL apply options
Sets the action that is done for delayed or immediate PTFs at the next unattended IPL.
Suggested / special values:
*NO
*NO- Previous requests to apply the identified PTFs at the next unattended IPL are canceled.
*YES- The identified PTFs are applied at the next unattended IPL. The Extent of change (APY) parameter determines whether the apply operation is temporary or permanent.
*APYPERM- If LICPGM(*ALL) is specified or APYREQ(*YES) is specified and a product's PTFs have prerequisite Licensed Internal Code fixes, then the required Licensed Internal Code fixes are also identified to be permanently applied.
*NOAPY- Prerequisite Licensed Internal Code fixes are not identified to be applied during the next unattended IPL. If prerequisite Licensed Internal Code fixes exist that are not permanently applied, this command stops.
Elements in order
Apply at unattended IPL
Apply at unattended IPL
Allowed values:
*YES
Prerequisite lic int code
Prerequisite lic int code
Allowed values:
*APYPERM, *NOAPY
APYREQ
Apply requisite PTFs
Controls whether the prerequisite and corequisite PTFs of the PTFs specified on the SELECT parameter, that are within the same product and release, are applied with the PTFs specified on the SELECT parameter list. This parameter is valid only when *ALL is not specified in the SELECT parameter.
Allowed values:
*NO, *YES
*NO- The corequisite and prerequisite PTFs are not applied with the SELECT parameter list. No PTFs are applied if any PTF specified in the list has requisite PTFs not also in the list or already applied.
*YES- The PTFs are applied with the SELECT parameter list.
Examples
APYPTF LICPGM(57xxSS1) DELAYED(*YES)
Applies all the programming fixes that affect the operating system (57xxSS1). The fixes are temporarily applied at the next IPL.
APYPTF LICPGM(57xxSS1) SELECT(SI00003 SI00008 SI00012) APY(*PERM) DELAYED(*YES)
Permanently applies PTFs SI00003, SI00008, and SI00012 to the operating system in library QSYS at the next IPL.
APYPTF LICPGM(*ALL) DELAYED(*IMMDLY)
Permanently applies all PTFs that can be applied immediately and sets the rest to be applied at the next IPL.
APYPTF LICPGM(57xxSS1) SELECT(SI00003 SI00008 SI00012) APYREQ(*YES)
Applies the identified PTFs and their corequisites and prerequisites at the time the command is run if the PTFs and their corequisites and prerequisites are defined as immediate. PTFs defined as delayed or defined with corequisites or prerequisites defined as delayed are ignored along with the delayed requisites.
APYPTF LICPGM(57xxSS1) SELECT(SI00003 SI00008 SI00012) DELAYED(*YES) APYREQ(*YES)
Applies the identified PTFs and their corequisites and prerequisites at the next IPL regardless of whether they are defined as delayed or immediate.
APYPTF LICPGM(57xxSS1) SELECT(SI00003 SI00008 SI00012) DELAYED(*IMMDLY) APYREQ(*YES)
Applies the identified PTFs and their corequisites and prerequisites at the time the command is run if the PTFs and their corequisites and prerequisites are defined as immediate. PTFs defined as delayed or defined with corequisites or prerequisites defined as delayed are applied during the next IPL along with the delayed requisites.
Generated from os/cl/catalog/APYPTF.json and os/cl/help/APYPTF.json.