Where allowed to run: All environments (*ALL) Threadsafe: Conditional |
Parameters Examples Error messages |
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:
Note: Profiles of linetype *PPP can ended with this command but any configuration of *PPP profiles must be done using the iSeries Navigator graphical user interface.
The TCP/IP point-to-point session jobs run in the QSYSWRK subsystem.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
CFGPRF | Configuration profile | Character value, *ALL | Required, Positional 1 |
OPRMODE | Operating mode | *ANY, *ANS, *DIAL | Optional, Positional 2 |
Top |
Specifies which point-to-point TCP/IP sessions job or jobs should be ended.
This is a required parameter.
Top |
Specifies the operating mode of the TCP/IP point-to-point session job to be ended.
Top |
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.
Top |
*ESCAPE Messages
Top |