1 | Workstation name | Input | Char(15) |
2 | Error code | I/O | Char(*) |
3 | Session identifier | Input | Binary(8) |
The End Server Session (QZLSENSS) API ends a single session or all the sessions that were established from the specified workstation.
To use this API, you must have *IOSYSCFG special authority.
The name of the workstation from which the session to the server was established. When specifying the session identifier parameter to end a single session, *SESSID must be specified for the workstation name.
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
Allows the caller to end a single session. This parameter must be 0 if any value other than *SESSID is specified for the workstation name. Allowable values are:
0 | All sessions for the specified workstation name are ended. |
Session identifier | The identified session is ended. |
If the session identifier parameter is not specified, the API assumes a value of 0.
Message ID | Error Message Text |
---|---|
CPF3C1E E | Required parameter &1 omitted. |
CPF3CF1 E | Error code parameter not valid. |
CPF3CF2 E | Error(s) occurred during running of &1 API. |
CPFB682 E | API &1 failed with reason code &2. |
CPFB683 E | Data conversion failed for API &1. |
CPFB684 E | User does not have the correct authority for API &1. |
CPFB68E E | Error ending iSeries Support for Windows Network Neighborhood (iSeries NetServer) session. |
Top | Server Support APIs | APIs by category |