Aller au contenu

WRKREGINF

Gérer infos d'enregistrement

Work with Registration Info

En bref

La commande Gérer les informations d'enregistrement (WRKREGINF) affiche des informations sur les points d'exit et les programmes d'exit. The Work with Registration Information Command (WRKREGINF) shows information about exit points and exit programs.

WRKREGINF se lit WRK (Gérer) + REGINF. Sur IBM i, le nom d'une commande associe presque toujours un verbe et un objet.

Syntaxe minimale

WRKREGINF

Paramètres

  • EXITPNT Point d'exit Exit point
  • FORMAT Format du point d'exit Exit point format
  • OUTPUT Sortie

Astuce : dans une session 5250, tapez WRKREGINF puis F4 pour l'invite de saisie, et F1 sur un paramètre pour son aide.

Aide IBM i de la commande

Texte du F1, IBM i 7.5 en français (bibliothèque QSYS)

Où s'exécute : Tous les environnements (*ALL)
Compatible multitâche : Non

La commande Gérer les informations d'enregistrement (WRKREGINF) affiche des informations sur les points d'exit et les programmes d'exit. Les informations sur un seul point d'exit, sur plusieurs points d'exit et sur les programmes d'exit associés aux points d'exit sont affichées. La commande est similaire à l'interface de programmation d'application (API) Extraire les informations d'exit (QUSRTVEI). 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).

Les vues QSYS2.EXIT_POINT_INFO et QSYS2.EXIT_PROGRAM_INFO renvoient des informations similaires. The QSYS2.EXIT_POINT_INFO and QSYS2.EXIT_PROGRAM_INFO views return similar information.

For more information on Registration Information refer to the Ensemble de rubriques API de la catégorie Programmation de l'IBM i Information Center (http://www.ibm.com/systems/i/infocenter/) book.

Paramètres

Mot-clé Description Valeurs possibles Remarques
EXITPNT Point d'exitExit point Nom générique, nom, *REGISTERED, *UNREGISTERED, *ALL Facultatif, positionnel 1
FORMAT Format du point d'exitExit point format Nom générique, nom, *ALL Facultatif, positionnel 2
OUTPUT Sortie *, *PRINT Facultatif

Point d'exit (EXITPNT)Exit point (EXITPNT)

Indique le nom du point d'exit à gérer. Specifies the name of the exit point to work with.

Les valeurs possibles sont : The possible values are:

*REGISTERED
Tous les points d'exit enregistrés sont affichés. Les points d'exit enregistrés sont ceux qui ont été ajoutés au service d'enregistrement. All registered exit points are displayed. Registered exit points are exit points that were added to the registration facility.
*UNREGISTERED
Tous les points d'exit non enregistrés sont affichés. Les points d'exit non enregistrés sont ceux créés par le service d'enregistrement en l'absence du point d'exit au moment où un programme d'exit a été ajouté. 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
Tous les points d'exit enregistrés et non enregistrés sont affichés. All registered and unregistered exit points are displayed.
exit-point
Indiquez le nom du point d'exit à afficher. Specify the name of the exit point that is to be displayed.
generic*-exit-point-name
Indiquez un nom générique pour le point d'exit. Un nom générique est une chaîne d'un ou plusieurs caractères suivie d'un astérisque (*) ; par exemple, ABC*. Si un nom générique est indiqué, tous les points d'exit dont le nom commence par le nom générique sont affichés. 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 du point d'exit (FORMAT)Exit point format (FORMAT)

Indique le nom du format du point d'exit à gérer. Specifies the format name of the exit point to work with.

Les valeurs possibles sont : The possible values are:

*ALL
Tous les formats du point d'exit indiqué sont affichés. All formats for the specified exit point are displayed.
format
Indiquez le nom du format du point d'exit. Specify the name of the exit point format.
generic*-format
Indiquez un nom générique pour le format du point d'exit. Un nom générique est une chaîne d'un ou plusieurs caractères suivie d'un astérisque (*) ; par exemple, ABC*. Si un nom générique est indiqué, tous les formats qui commencent par le nom générique sont affichés. 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.

Sortie (OUTPUT)

Indique si la sortie de la commande est affichée sur le poste de travail demandeur ou imprimée avec la sortie spoule du travail. Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.

Les valeurs possibles sont : The possible values are:

*
La sortie est affichée. The output is displayed.
*PRINT
La sortie est imprimée avec la sortie spoule du travail. The output is printed with the job's spooled output.

Exemples

Exemple 1 : Impression des informations d'enregistrement Example 1: Printing Registration Information

WRKREGINF   OUTPUT(*PRINT)

Cette commande produit un rapport de tous les points d'exit enregistrés et de leurs programmes d'exit à l'aide du fichier d'imprimante QSYSPRT. This command produces a report of all registered exit points and their exit programs using the QSYSPRT printer file.

Exemple 2 : Affichage des informations d'enregistrement Example 2: Displaying Registration Information

WRKREGINF   EXITPNT(*REGISTERED)  FORMAT(FMT*)

Cette commande affiche tous les points d'exit enregistrés dont le nom de format commence par les lettres 'FMT'. This command displays all registered exit points with a format name that starts with the letters 'FMT'.

Messages d'erreur

Messages *ESCAPE *ESCAPE Messages

CPF3CDA
Le référentiel du service d'enregistrement n'est pas disponible. Registration facility repository not available for use.
CPF3CD9
La fonction demandée ne peut pas être exécutée pour le moment. Requested function cannot be performed at this time.
CPF3CEF
Une erreur s'est produite lors de l'affichage des points d'exit. Error occurred displaying exit points.
CPF7D41
Erreur lors de la consignation de la demande d'assistance pour commande.
CPF7D42
Erreur lors de l'exécution d'une opération de base de données.
CPF9871
Erreur lors du traitement.

© Copyright IBM Corp. Texte d'aide reproduit à des fins de formation.