Command reference / sys
WRKPTFGRP
Work with PTF Groups
The Work with Program Temporary Fix Groups (WRKPTFGRP) command displays a list of PTF groups on the system. A PTF group consists of a list of program temporary fixes (PTFs) defined for the purpose of managing those PTFs as one group. A PTF group can identify other PTF groups called related PTF groups. The PTFs in the PTF group as well as the PTFs in the latest installed level of all related PTF groups are used to determine the overall status of the PTF group. The QSYS2.GROUP_PTF_INFO view returns similar information.
Allowed environments: *INTERACT, *IPGM, *IREXX, *EXEC.
Positional parameters: 1.
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.
Parameters
PTFGRP
PTF group
Specifies the PTF groups to display. This is a required parameter.
Suggested / special values:
*ALL
*ALL- All PTF groups on the system are displayed.
name- Specify the name of the PTF group to display.
generic-name- Specify the generic name of the PTF group to display. A generic name is a character string that contains one or more characters followed by an asterisk (*).
PTFGRPLVL
PTF group level
Specifies the level of the PTF group to display.
Suggested / special values:
*ALL, *INSTALLED, *LATEST
*ALL- All levels of the PTF group are displayed.
*LATEST- The latest level of the PTF group is displayed.
*INSTALLED- The latest level of the PTF group that has a status of Installed or Apply at next IPL is displayed. If no levels of the PTF group have a status of Installed or Apply at next IPL, the latest level of the PTF group that exists on the system is displayed.
1-99999- Specify the level of the PTF group to display.
Examples
WRKPTFGRP PTFGRP(SF*)
Specifying a generic PTF group name. This command allows you to work with all of the PTF groups that start with the letters 'SF'.
WRKPTFGRP PTFGRP(*ALL) PTFGRPLVL(*INSTALLED)
Display the latest installed level of all PTF groups on the system. This command displays the latest installed level of all PTF groups on the system. For each PTF group, the latest level of the PTF group that has a status of Installed or Apply at next IPL is displayed. If no levels of the PTF group have a status of Installed or Apply at next IPL, the latest level of the PTF group that exists on the system is displayed.
Generated from os/cl/catalog/WRKPTFGRP.json and os/cl/help/WRKPTFGRP.json.