Command reference / sys

DSPPTFGRP

Display PTF Group

The Display PTF Group (DSPPTFGRP) command displays information for the selected PTF group. 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.

Allowed environments: *ALL. Positional parameters: 1.

Restrictions

Parameters

PTFGRP PTF group

Specifies the PTF group to display. This is a required parameter.

Type
*CHAR
Required
Yes
Length
7
Case
Uppercase
name
Specify the name of the PTF group to display.

PTFGRPLVL PTF group level

Specifies the level of the PTF group to display.

Type
*DEC
Required
No
Default
*LATEST
Length
5
Range
1 to 99999
Case
Uppercase

Suggested / special values: *INSTALLED, *LATEST

*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.

TYPE Type of information

Specifies the type of information to display. Note: If OUTPUT(*PRINT) is specified, this parameter is ignored and all of the information is printed for the selected PTF group. This includes the defined list of PTFs, the list of related PTF groups, the list of special handling PTFs, and the list of applicable PTFs that are not installed.

Type
*CHAR
Required
No
Default
*PTF
Length
10
Case
Uppercase

Allowed values: *PTF, *NOTINSPTF, *RELPTFGRP, *SPCHDLPTF

*PTF
Displays the list of PTFs defined in the selected PTF group.
*NOTINSPTF
Displays the list of all applicable PTFs that are not installed for the selected PTF group and its related PTF groups. If a PTF in the PTF group or related PTF groups has a status of Superseded, the PTF it is superseded by is displayed in place of the superseded PTF.
*RELPTFGRP
Displays the list of related PTF groups defined in the selected PTF group.
*SPCHDLPTF
Displays the list of special handling PTFs defined in the selected PTF group.

OUTPUT Output

Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.

Type
*CHAR
Required
No
Default
*
Length
8
Case
Uppercase

Allowed values: *, *PRINT

*
The output is displayed (if requested by an interactive job) or printed with the job's spooled output (if requested by a batch job).
*PRINT
The output is printed with the job's spooled output. The name of the spooled output file is QSYSPRT.

Examples

DSPPTFGRP PTFGRP(SF99123) TYPE(*PTF)

This command displays the list of PTFs defined in the latest level of PTF group SF99123.

DSPPTFGRP PTFGRP(SF99123) OUTPUT(*PRINT)

This command produces output which is printed with the job's spooled output. The information for the latest level of PTF group SF99123 is printed which includes the defined list of PTFs, the list of related PTF groups, the list of special handling PTFs, and the list of applicable PTFs that are not installed.

IBM command documentation

Generated from os/cl/catalog/DSPPTFGRP.json and os/cl/help/DSPPTFGRP.json.