Work with Registration Info (WRKREGINF)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Work with Registration Information Command (WRKREGINF) shows information about exit points and exit programs. Information about a single exit point, multiple exit points and the exit programs associated with the exit points are displayed. The command is similar to the Retrieve Exit Information (QUSRTVEI) Application Programming Interface (API).

For more information on Registration Information refer to the Application programming interfaces information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter book.

Top

Parameters

Keyword Description Choices Notes
EXITPNT Exit point Generic name, name, *REGISTERED, *UNREGISTERED, *ALL Optional, Positional 1
FORMAT Exit point format Generic name, name, *ALL Optional, Positional 2
OUTPUT Output *, *PRINT Optional
Top

Exit point (EXITPNT)

Specifies the name of the exit point to work with.

The possible values are:

*REGISTERED
All registered exit points are displayed. Registered exit points are exit points that were added to the registration facility.
*UNREGISTERED
All unregistered exit points are displayed. Unregistered exit points are exit points that are created by the registration facility in the absence of the exit point at the time an exit program was added.
*ALL
All registered and unregistered exit points are displayed.
exit-point
Specify the name of the exit point that is to be displayed.
generic*-exit-point-name
Specify a generic name for the exit point. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. If a generic name is specified, all exit points with names that begin with the generic name are shown.
Top

Exit point format (FORMAT)

Specifies the format name of the exit point to work with.

The possible values are:

*ALL
All formats for the specified exit point are displayed.
format
Specify the name of the exit point format.
generic*-format
Specify a generic name for the exit point format. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. If a generic name is specified, all formats that begin with the generic name are shown.
Top

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 possible values are:

*
The output is displayed.
*PRINT
The output is printed with the job's spooled output.
Top

Examples

Example 1: Printing Registration Information

WRKREGINF   OUTPUT(*PRINT)

This command produces a report of all registered exit points and their exit programs using the QSYSPRT printer file.

Example 2: Displaying Registration Information

WRKREGINF   EXITPNT(*REGISTERED)  FORMAT(FMT*)

This command displays all registered exit points with a format name that starts with the letters 'FMT'.

Top

Error messages

*ESCAPE Messages

CPF3CDA
Registration facility repository not available for use.
CPF3CD9
Requested function cannot be performed at this time.
CPF3CEF
Error occurred displaying exit points.
CPF7D41
Error occurred while logging order assistance request.
CPF7D42
Error occurred while performing database operation.
CPF9871
Error occurred while processing.
Top