Command reference / sys
WRKREGINF
Work with Registration Info
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). The QSYS2.EXIT_POINT_INFO and QSYS2.EXIT_PROGRAM_INFO views return similar information. For more information on Registration Information refer to the APIs topic collection in the Programming category in the IBM i Information Center at http://www.ibm.com/systems/i/infocenter/ book.
Allowed environments: *ALL.
Positional parameters: 2.
Parameters
EXITPNT
Exit point
Specifies the name of the exit point to work with. The IBM i default is *REGISTERED.
Suggested / special values:
*ALL, *REGISTERED, *UNREGISTERED
*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.
FORMAT
Exit point format
Specifies the format name of the exit point to work with.
Suggested / special values:
*ALL
*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.
OUTPUT
Output
Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
Allowed values:
*, *PRINT
*- The output is displayed.
*PRINT- The output is printed with the job's spooled output.
Examples
WRKREGINF OUTPUT(*PRINT)
Printing Registration Information. This command produces a report of all registered exit points and their exit programs using the QSYSPRT printer file.
WRKREGINF EXITPNT(*REGISTERED) FORMAT(FMT*)
Displaying Registration Information. This command displays all registered exit points with a format name that starts with the letters 'FMT'.
Generated from os/cl/catalog/WRKREGINF.json and os/cl/help/WRKREGINF.json.