WRKREGINF (Work with Registration Information) Command
WRKREGINF Command syntax diagram
Purpose
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 Application Program Interfaces (APIs) topic in the Information Center.
Optional Parameters
- EXITPNT
- Specifies the exit point name to work with.
*REGISTERED: All registered exit points are displayed. Registered exit points are exit points that are added to the registration facility.
*UNREGISTERED: All unregistered exit points are displayed. Unregistered exit points are exit points 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-name: Specify the name of the registered or unregistered exit point.
generic*-exit-point-name: Specify a generic name for the registered or unregistered exit point. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. The asterisk substitutes for any valid characters. A generic name specifies all objects with names that begin with the generic prefix for which the user has authority. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete object name. See generic names for additional information.
- FORMAT
- Specifies the exit point format name of the exit point.
*ALL: All formats for the specified exit point name are displayed.
format-name: Specify the name of the format.
generic*-format-name: Specify a generic name for the format. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. The asterisk substitutes for any valid characters. A generic name specifies all objects with names that begin with the generic prefix for which the user has authority. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete object name. See generic names for additional information.
- OUTPUT
- Specifies whether the output is directed to the display station or to a printer.
* : Output requested by an interactive job is shown on the display. Output requested by a batch job is printed with the job's spooled output.
*PRINT: The registration information is printed. Exit program data is returned in character format.
Examples for WRKREGINF
Example 1: Printing Registration Information
WRKREGINF OUTPUT(*PRINT)This command produces a report of all registered exit points and their exit programs to QSYSPRT.
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.
Error messages for WRKREGINF
*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.