Work with PTF (WRKPTF)

Start of change

The Work with PTFs (WRKPTF) command selects and works with all program temporary fixes (PTFs) for a product.End of change

Start of change

Restrictions:

End of change

Parameters

Start of changeEnd of change
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 Start of changeReleaseEnd of change Character value, *ONLY Optional, Positional 3
Start of change

PTF (PTF)

Specifies the PTFs with which you want to work. The possible values are:End of change

*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.
Start of change
*COVERONLY
End of change
PTFs for the specified product and release that contain only a cover letter are shown.
Start of change
*CVRLTR
End of change
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.

Product (LICPGM)

Start of change

Specifies the product for the selected PTFs.End of change

*SELECT
Start of change
A list of products is shown from which you can select the PTFs you want to work with.End of change
Start of change
licensed-program
Specify the product of the PTFs you want to work with.End of change
Start of change

Release (RLS)

Specifies the release level of the selected PTFs.End of change

*ONLY
This value is valid only when one release of the product's base option is installed on the system.
character-value
Start of change
Specify the release level of the base product option in one of the following formats:End of change
  • 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.

Examples

Start of change

Example 1: All PTFs for a product

End of change

Start of changeWRKPTF   LICPGM(5770SS1)End of change

Start of change

This command allows you to work with all the PTFs for the installed IBM i product.End of change

Start of change

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.

End of change

Error messages

*ESCAPE Messages

SMU1412
Product &1 release &3 not found. Start of change
CPF358A
Release not valid.End of change