Command reference / sys

DSPPTF

Display Program Temporary Fix

Shows the program temporary fixes (PTFs) for a specified product.

Allowed environments: *ALL. Positional parameters: 2.

Restrictions

Parameters

LICPGM Product

Specifies the product whose PTFs are shown. When *ALL is specified, PTFs for all installed and supported products are shown.

Type
*CHAR
Required
No
Default
*ALL
Length
50
Case
Uppercase

Suggested / special values: *ALL, *FMW

*ALL
Shows the PTFs of all installed and supported products.
*FMW
Shows the PTFs of all installed and supported server firmware products.

SELECT PTF numbers to select

Specifies which PTF is shown for the specified product. *ALL cannot be specified for the Product parameter if a PTF number is specified here.

Type
*CHAR
Required
No
Default
*ALL
Length
50
List limit
300
Case
Uppercase

Suggested / special values: *ALL, *PTFSAVF, *ONORDER, *ACTRQD, *NOTAPY, *SAVFONLY, *ONORDONLY, *COVERONLY

*ALL
Shows the status of all PTFs for the specified product.
*PTFSAVF
Shows PTFs for the product that have a save file in library QGPL. Useful for finding PTF save files no longer needed.
*ONORDER
Shows PTFs for the product that are on order.
*ACTRQD
Shows PTFs that have required actions pending. Exit programs can make the first screen slow to appear.
*NOTAPY
Shows all PTFs for the product that are not already applied or superseded.
*SAVFONLY
Shows all PTFs with a status of Save file only.
*ONORDONLY
Shows all PTFs with a status of On order only.
*COVERONLY
Shows all PTFs with a status of Cover letter only.

RLS Release

Specifies the release level of the PTFs displayed, in VxRyMz or vvrrmm format.

Type
*CHAR
Required
No
Default
*ALL
Length
50
Case
Uppercase

Suggested / special values: *ALL

*ALL
Shows PTFs for all releases of the supported and installed products.

COVERONLY Cover letter only

Specifies whether only the cover letter is displayed.

Type
*CHAR
Required
No
Default
*NO
Length
4
Case
Uppercase

Allowed values: *NO, *YES

*NO
A cover letter is not displayed.
*YES
The cover letter is displayed.

OUTPUT Output

Specifies whether output is displayed at the requesting workstation or printed with the job's spooled output.

Type
*CHAR
Required
No
Default
*
Length
8
Case
Uppercase

Allowed values: *, *PRINT, *OUTFILE

*
Displayed if requested by an interactive job, or printed with the job's spooled output if requested by a batch job.
*PRINT
Printed with the job's spooled output, in spooled file QSYSPRT.
*OUTFILE
Directed to the database file specified for the OUTFILE parameter.

OUTFILE File to receive output

Specifies the physical database file that receives the PTF records. If a new file is created, QADSPPTF in QSYS with format QSCPTF is used as the model.

Type
*QUAL
Required
No
Case
Uppercase
*LIBL
The library list is used to locate the file. If not found, it is created in the current library, or in QGPL if no current library exists.
*CURLIB
The current library for the thread is used to locate the file; if none is set, QGPL is used.
Qualified parts (object, then library; write LIBRARY/OBJECT)

File to receive output File to receive output

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

OUTMBR Output member options

Specifies the name of the file member that receives the command output, and whether its records are replaced or added to.

Type
*ELEM
Required
No
Case
Uppercase
*FIRST
The first member in the file receives the output. If it does not exist, it is created with the name of the file.
*REPLACE
The system clears the existing member and adds the new records.
*ADD
The system adds the new records to the end of the existing records.
Elements in order

Member to receive output Member to receive output

Type
*NAME
Required
No
Default
*FIRST
Length
10
Case
Uppercase

Suggested / special values: *FIRST

Replace or add records Replace or add records

Type
*CHAR
Required
No
Default
*REPLACE
Length
8
Case
Uppercase

Allowed values: *REPLACE, *ADD

Examples

DSPPTF LICPGM(57xxSS1) OUTPUT(*PRINT)

Produces a printout containing the status of PTFs for the product 57xxSS1.

DSPPTF LICPGM(57xxSS1) SELECT(SI00034) OUTPUT(*PRINT)

Produces a printout containing detailed information about PTF SI00034 for the product 57xxSS1.

IBM command documentation

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