Work with Point-to-Point TCPIP (WRKTCPPTP)

Where allowed to run: Interactive environments (*INTERACT *IPGM *IMOD *IREXX *EXEC)
Threadsafe: No
Parameters
Examples
Error messages

The Work with Point-to-Point TCP/IP (WRKTCPPTP) command allows you to display and work with the point-to-point TCP/IP configuration profiles defined on this system.

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.

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.

The following options cannot be used with *PPP linetype profiles:

The following options can be used with *PPP linetype profiles:

Use the iSeries Navigator interface for Configuration of *PPP Slip or Point to Point profiles.

Restrictions:

Top

Parameters

Keyword Description Choices Notes
CFGPRF Configuration profile Character value, *ALL Optional, Positional 1
OPRMODE Operating mode *ANY, *ANS, *DIAL Optional, Positional 2
Top

Configuration profile (CFGPRF)

Specifies which configuration profiles to show in the list.

*ALL
Show all point-to-point TCP/IP configuration profiles.
generic-name
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.
name
Specify the name of a specific configuration profile. Only this profile will appear in the list.
Top

Operating mode (OPRMODE)

Specifies the operating mode of the point-to-point TCP/IP configuration profiles to be shown in the list.

*ANY
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
Only point-to-point TCP/IP configuration profiles with an operating mode of *ANS will appear in the list.
*DIAL
Only point-to-point TCP/IP configuration profiles with an operating mode of *DIAL will appear in the list.
Top

Examples

Example 1: Displaying all profiles

WRKTCPPTP

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.

Example 2: Displaying only *DIAL profiles

WRKTCPPTP   OPRMODE(*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.

Example 3: Displaying only *ANS profiles for a generic name

WRKTCPPTP   CFGPRF(ANSPRF*)  OPRMODE(*ANS)

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'.

Top

Error messages

*ESCAPE Messages

TCP1A1F
Cannot process request while &3/&2/&1 using &6.
TCP8205
Required object &2/&1 type *&3 not found.
TCP8206
Option &8 not performed. Thread &10 in job &6/&5/&4 is using &1.
TCP8211
Point-to-point profile &1 not found.
TCP8212
Point-to-point profile &1 already exists.
TCP8219
*AUTL &3 conflicts with Use connection dialog script N.
Top