Work with PTF (WRKPTF)
Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with PTFs (WRKPTF) command selects and works with all program temporary fixes (PTFs) for a product.
Restrictions:
- This command is shipped with exclude (*EXCLUDE) public authority. The QPGMR, QSYSOPR, QSRV, and QSRVBAS user profiles are shipped with private authorities to use this command.
Top |
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
PTF | PTF | Character value, *ALL, *PTFSAVF, *ONORDER, *CVRLTR, *COVERONLY | Optional, Positional 1 |
LICPGM | Product | Character value, *SELECT | Optional, Positional 2 |
RLS | Release | Character value, *ONLY | Optional, Positional 3 |
Top |
PTF (PTF)
Specifies the PTFs with which you want to work. The possible values are:
- *ALL
- All PTFs for the specified product and release are shown.
- *PTFSAVF
- PTFs for the specified product and release that have a save file in QGPL are shown.
- *ONORDER
- PTFs for the specified product and release that are on order are shown.
- *COVERONLY
- PTFs for the specified product and release that contain only a cover letter are shown.
- *CVRLTR
- PTFs for the specified product and release that contain a cover letter, regardless of the PTF status, are shown.
- PTF-ID
- Specify the identifier (ID) of the PTF to be shown.
Top |
Product (LICPGM)
Specifies the product for the selected PTFs.
- *SELECT
- A list of products is shown from which you can select the PTFs you want to work with.
- licensed-program
- Specify the product of the PTFs you want to work with.
Top |
Release (RLS)
Specifies the release level of the selected PTFs.
- *ONLY
- This value is valid only when one release of the product's base option is installed on the system.
- character-value
- Specify the release level of the base product option in one of the following formats:
- VxRyMz, where Vx is the version number, Ry is the release number, and Mz is the modification level. The variables x and y can be a number from 0 through 9, and the variable z can be a number from 0 through 9 or a letter from A through Z.
- vvrrmm, where version vv and release rr must be a number from 00 through 35, and modification mm must be a number from 00 through 09 or a letter from 0A through 0Z. The leading zeros are required. This format must be used if the version or release of the product is greater than 9.
Top |
Examples
Example 1: All PTFs for a product
WRKPTF LICPGM(5770SS1)
This command allows you to work with all the PTFs for the installed IBM i product.
Example 2: PTFs with save files for a product
WRKPTF PTF(*PTFSAVF) LICPGM(5770999)
This command allows you to work with all the PTFs that have a save file for the installed Licensed Internal Code (LIC) product.
Top |
Top |