Display Function Usage (DSPFCNUSG)

The Display Function Usage (DSPFCNUSG) command shows a list of function identifiers. It can also be used to show detailed usage information about a specific function, including a list of user profiles with specific usage information for the function.

When printing the output, the detailed usage information about each function identifier will be included in the output.

Restrictions: To display the usage information for a specific function, you must have security administrator (*SECADM) special authority.

To print the output from the Display Function Usage command you must have security administrator (*SECADM) special authority.

Parameters

Keyword Description Choices Notes
FCNID Function ID Generic name, name, *ALL Optional, Positional 1
OUTPUT Output *, *PRINT Optional

Function ID (FCNID)

Specifies the function ID for which the usage information is to be shown.

*ALL
All function identifiers are shown.
generic-name
Specify the generic name of the function identifiers 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 function identifiers that have names with the same prefix as the generic name are shown.
name
Specify the name of the function ID to be shown.

Output (OUTPUT)

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

*
The output is displayed for interactive jobs or printed with the job's spooled output for non-interactive jobs.
*PRINT
The output is printed with the job's spooled output.

Examples

DSPFCNUSG   FCNID(QIBM_SERVICE_TRACE)  OUTPUT(*PRINT)

This command sends the display of the usage for the QIBM_SERVICE_TRACE function to the printer.

Error messages

*ESCAPE Messages

CPF228A
Function &1 not registered.
CPF229B
Operation not allowed for function &1.
CPF3CDA
Registration facility repository not available for use.
CPFA0AA
Error occurred while attempting to obtain space.