Aller au contenu

WRKTCPPTP

Gérer TCPIP point à point

Work with Point-to-Point TCPIP

En bref

La commande Gérer TCPIP point à point (WRKTCPPTP) permet d'afficher et de gérer les profils de configuration TCP/IP point à point définis sur ce système. The Work with Point-to-Point TCPIP (WRKTCPPTP) command allows you to display and work with the point-to-point TCP/IP configuration profiles defined on this system.

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

Syntaxe minimale

WRKTCPPTP

Paramètres

  • CFGPRF Profil de configuration Configuration profile
  • OPRMODE Mode d'exploitation Operating mode

Astuce : dans une session 5250, tapez WRKTCPPTP 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 : Environnements interactifs (*INTERACT *IPGM *IMOD *IREXX *EXEC)
Compatible multitâche : Non

La commande Gérer TCPIP point à point (WRKTCPPTP) permet d'afficher et de gérer les profils de configuration TCP/IP point à point définis sur ce système. The Work with Point-to-Point TCPIP (WRKTCPPTP) command allows you to display and work with the point-to-point TCP/IP configuration profiles defined on this system.

Vous pouvez gérer tous les profils de configuration définis ou un sous-ensemble de profils à l'aide des paramètres OPRMODE et CFGPRF. Les informations affichées pour chaque profil comprennent le nom, le mode de fonctionnement, le type de protocole de la couche liaison de données et l'état de la session. You can work with all the configuration profiles defined, or a subset of the profiles by using the OPRMODE and CFGPRF parameters. The information shown for each profile includes the name, operating mode, data link layer protocol type, and session status.

La liste permet d'ajouter, de modifier, de copier, d'afficher ou de supprimer des profils de configuration TCP/IP point à point. Vous pouvez également démarrer et arrêter des travaux de session point à point. The list allows you to add, change, copy, display, or remove point-to-point TCP/IP configuration profiles. You can also start and end point-to-point session jobs.

Les options suivantes ne peuvent pas être utilisées avec les profils de type de ligne *PPP : The following options cannot be used with *PPP linetype profiles:

  • Modifier Change
  • Copier Copy
  • Retirer Remove
  • Afficher les détails Display details

Les options suivantes peuvent être utilisées avec les profils de type de ligne *PPP : The following options can be used with *PPP linetype profiles:

  • Démarrer Start
  • Arrêter End
  • Gérer l'état des lignes Work with line status
  • Gérer le travail de session Work with session job

Utilisez l'interface Systems Director Navigator pour la configuration des profils *PPP Slip ou point à point. Use the Systems Director Navigator interface for Configuration of *PPP Slip or Point to Point profiles.

Restrictions:

  • Pour ajouter, modifier ou supprimer un profil de configuration point à point, vous devez posséder le droit spécial de configuration du système d'entrée/sortie (*IOSYSCFG). To add, change, or remove a point-to-point configuration profile you must have input/output system configuration (*IOSYSCFG) special authority.
  • Pour démarrer ou arrêter un travail de session point à point, vous devez posséder le droit d'utilisation (*USE) sur la commande STRTCPPTP ou ENDTCPPTP. To start or end a point-to-point session job, you must have use (*USE) authority to the STRTCPPTP or ENDTCPPTP command.

Paramètres

Mot-clé Description Valeurs possibles Remarques
CFGPRF Profil de configurationConfiguration profile Valeur caractère, *ALL Facultatif, positionnel 1
OPRMODE Mode d'exploitationOperating mode *ANY, *ANS, *DIAL Facultatif, positionnel 2

Profil de configuration (CFGPRF)Configuration profile (CFGPRF)

Indique les profils de configuration à afficher dans la liste. Specifies which configuration profiles to show in the list.

*ALL
Affiche tous les profils de configuration TCP/IP point à point. Show all point-to-point TCP/IP configuration profiles.
nom-générique
Indiquez le nom générique du profil de configuration TCP/IP point à point. 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 profils dont le nom commence par le nom générique sont affichés. Si aucun astérisque n'est inclus, le nom est considéré comme le nom complet d'un profil de configuration TCP/IP point à point. Specify the generic name of the point-to-point TCP/IP configuration profile. 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, then all profiles with names that begin with the generic name are displayed. If an asterisk is not included, the name is assumed to be a complete point-to-point TCP/IP configuration profile name.
nom
Indiquez le nom d'un profil de configuration donné. Seul ce profil apparaîtra dans la liste. Specify the name of a specific configuration profile. Only this profile will appear in the list.

Mode d'exploitation (OPRMODE)Operating mode (OPRMODE)

Indique le mode de fonctionnement des profils de configuration TCP/IP point à point à afficher dans la liste. Specifies the operating mode of the point-to-point TCP/IP configuration profiles to be shown in the list.

*ANY
Tout profil de configuration TCP/IP point à point correspondant au nom de profil de configuration indiqué dans le paramètre CFGPRF apparaîtra dans la liste, quel que soit le mode de fonctionnement. Any point-to-point TCP/IP configuration profile that matches the configuration profile name specified on the CFGPRF parameter will appear in the list, regardless of operating mode.
*ANS
Seuls les profils de configuration TCP/IP point à point dont le mode de fonctionnement est *ANS apparaîtront dans la liste. Only point-to-point TCP/IP configuration profiles with an operating mode of *ANS will appear in the list.
*DIAL
Seuls les profils de configuration TCP/IP point à point dont le mode de fonctionnement est *DIAL apparaîtront dans la liste. Only point-to-point TCP/IP configuration profiles with an operating mode of *DIAL will appear in the list.

Exemples

Exemple 1 : Affichage de tous les profils Example 1: Displaying all profiles

WRKTCPPTP

Cette commande affiche l'écran Gérer TCP/IP point à point, avec une liste contenant tous les profils de configuration TCP/IP point à point définis sur ce système. This command displays the Work with Point-to-Point TCP/IP panel, showing a list containing all the point-to-point TCP/IP configuration profiles defined on this system.

Exemple 2 : Affichage des profils *DIAL uniquement Example 2: Displaying only *DIAL profiles

WRKTCPPTP   OPRMODE(*DIAL)

Cette commande affiche l'écran Gérer TCP/IP point à point, avec une liste contenant tous les profils de configuration TCP/IP point à point définis sur ce système dont le mode de fonctionnement est *DIAL. This command displays the Work with Point-to-Point TCP/IP panel, showing a list containing all the point-to-point TCP/IP configuration profiles defined on this system with an operating mode of *DIAL.

Exemple 3 : Affichage des profils *ANS uniquement pour un nom générique Example 3: Displaying only *ANS profiles for a generic name

WRKTCPPTP   CFGPRF(ANSPRF*) OPRMODE(*ANS)

Cette commande affiche l'écran Gérer TCP/IP point à point, avec une liste contenant tous les profils de configuration TCP/IP point à point définis sur ce système dont le mode de fonctionnement est *ANS et qui commencent par les six caractères 'ANSPRF'. This command displays the Work with Point-to-Point TCP/IP panel, showing a list containing all the point-to-point TCP/IP configuration profiles defined on this system with an operating mode of *ANS that begin with the six characters 'ANSPRF'.

Messages d'erreur

Messages *ESCAPE *ESCAPE Messages

TCP1A1F
Impossible de traiter la demande tant que &3/&2/&1 utilise &6. Cannot process request while &3/&2/&1 using &6.
TCP8205
L'objet requis &2/&1 de type *&3 est introuvable. Required object &2/&1 type *&3 not found.
TCP8206
Option &8 non exécutée. L'unité d'exécution &10 du travail &6/&5/&4 utilise &1. Option &8 not performed. Thread &10 in job &6/&5/&4 is using &1.
TCP8211
Le profil point à point &1 est introuvable. Point-to-point profile &1 not found.
TCP8212
Le profil point à point &1 existe déjà. Point-to-point profile &1 already exists.
TCP8219
*AUTL &3 est en conflit avec Utiliser le script de dialogue de connexion N. *AUTL &3 conflicts with Use connection dialog script N.

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