Work with PSF Configuration (WRKPSFCFG)

Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC)
Threadsafe: No
Parameters
Examples
Error messages

The Work with PSF Configuration (WRKPSFCFG) command allows you to display and work with Print Services Facility (PSF) configuration objects. You can specify PSF configuration objects from one or more libraries.

Restrictions:

Top

Parameters

Keyword Description Choices Notes
PSFCFG PSF configuration Qualified object name Required, Positional 1
Qualifier 1: PSF configuration Generic name, name, *ALL
Qualifier 2: Library Name, *LIBL, *CURLIB, *USRLIBL, *ALLUSR, *ALL
Top

PSF configuration (PSFCFG)

Specifies the Print Services Facility (PSF) configuration objects that are to be shown.

This is a required parameter.

Qualifier 1: PSF configuration

*ALL
Display all PSF configuration objects.
generic-name
Specify the generic name of the PSF configuration objects to be shown. A generic name is a character string that contains one or more characters followed by an asterisk (*). If a generic name is specified, all PSF configuration objects that have names with the same prefix as the generic name are shown.
name
Specify the name of the PSF configuration object to be shown.

Qualifier 2: Library

*LIBL
Search all libraries in the job's library list for the PSF configuration object.
*CURLIB
Search the current job library for the job. If no library is specified as the current library for the job, the QGPL library is used.
*USRLIBL
Search only the libraries listed in the user portion of the job's library list.
*ALL
Search all libraries in the system, including QSYS.
*ALLUSR
Search all user libraries.
name
Search the specified library.
Top

Examples

WRKPSFCFG   PSFCFG(*ALL)

This command displays the Work with PSF Configuration objects panel, showing a list of all PSF configuration objects (*PSFCFG) that are located in any library in the library list.

Top

Error messages

*ESCAPE Messages

CPF9801
Object &2 in library &3 not found.
CPF9802
Not authorized to object &2 in &3.
CPF9803
Cannot allocate object &2 in library &3.
CPF9805
Object &2 in library &3 destroyed.
CPF9810
Library &1 not found.
CPF9811
Program &1 in library &2 not found.
CPF9820
Not authorized to use library &1.
CPF9830
Cannot assign library &1.
Top