blank.gif (43 bytes)

Church Of The
Swimming Elephant

Search:

ENDTCPPTP (End Point-to-Point TCP/IP) Command

Purpose

The End Point-to-Point TCP/IP (ENDTCPPTP) command is used to end a point-to-point TCP/IP session job. A session job operates in one of two possible modes. Answer mode sessions (*ANS) allow a remote system to contact this AS/400 and establish a point-to-point TCP/IP session. Dial mode sessions (*DIAL) allow this AS/400 to contact a remote system that supports point-to-point TCP/IP.

The TCP/IP point-to-point session jobs run in the QSYSWRK subsystem.

Required Parameter

CFGPRF Specifies which point-to-point TCP/IP sessions job or jobs should be ended.

*ALL: All currently active point-to-point TCP/IP sessions jobs operating in the mode specified by the OPRMODE parameter are ended.

generic*-configuration-profile-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 ended. If an asterisk is not included, the name is assumed to be a complete point-to-point TCP/IP configuration profile name. All currently active point-to-point TCP/IP session jobs using the profiles indicated and operating in the mode specified by the OPRMODE parameter are ended.

configuration-profile-name: Specify the name of a TCP/IP point-to-point configuration profile. The active point-to-point session job using this profile is ended.

Optional Parameter

OPRMODE Specifies the operating mode of the TCP/IP point-to-point session job to be ended. This value must match the value specified in the point-to-point configuration profile specified by CFGPRF.

*ANY: Any point-to-point TCP/IP session job that matches the configuration profile name specified on the CFGPRF parameter is ended, regardless of operating mode.

*ANS: The operating mode of the session to be ended is *ANS. All *ANS point-to-point TCP/IP session jobs that are currently active that match the specified CFGPRF parameter will be ended.

*DIAL: The operating mode of the session to be ended is *DIAL. All *DIAL point-to-point TCP/IP session jobs that are currently active that match the specified CFGPRF parameter will be ended.

Examples

Example 1: End a TCP/IP point-to-point session job.

ENDTCPPTP CFGPRF(DIALPRF)

This command ends the point-to-point TCP/IP session job that is using configuration profile DIALPRF. The operating mode (OPRMODE) value will default to *ANY so the operating mode is not used in deciding whether to end the session job.

Example 2: End all answer (*ANS) mode TCP/IP point-to-point session jobs.

ENDTCPPTP CFGPRF(*ALL) OPRMODE(*ANS)

This command ends all active or activating point-to-point answer mode (*ANS) TCP/IP session jobs.

Example 3: End all TCP/IP point-to-point session jobs.

ENDTCPPTP CFGPRF(*ALL)

This command ends all active or activating point-to-point TCP/IP session jobs.

Example 4: End all TCP/IP point-to-point session jobs starting with XYZ.

ENDTCPPTP CFGPRF(XYZ*)

This command ends all active or activating point-to-point TCP/IP session jobs that have profiles that begin with XYZ.

Example 5: End an answer mode TCP/IP point-to-point session job using a specific profile name.

ENDTCPPTP CFGPRF(DIALPRF) OPRMODE(*ANS)

This command will end the point-to-point TCP/IP session job using profile DIALPRF if this profile is defined to run in answer mode. If the profile is defined to run in dial mode then no action will be taken.

Cotse.Net

Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

 
.
www.cotse.com
Have you gone to church today?
.
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 Cotse.com.
Cotse.com is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609