End Server Session (QZLSENSS) API


  Required Parameter Group:


  Optional Parameter:


  Default Public Authority: *USE

  Threadsafe: No

The End Server Session (QZLSENSS) API ends a single session or all the sessions that were established from the specified workstation.


Authorities and Locks

To use this API, you must have *IOSYSCFG special authority.


Required Parameter Group

Workstation name
INPUT; CHAR(15)

The name of the workstation from which the session to the server was established. Special values of *SESSID and *EXPANDED can be specified for this field. When a special value is specified the associated input format must be specified on the expanded workstation name parameter.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Optional Parameter

Expanded workstation name
INPUT; CHAR(*)

When *SESSID is specified for the workstation name parameter, this parameter must be a BINARY(8). This allows the caller to end a single session. Allowable values are:

When *EXPANDED is specified for the workstation name parameter, this parameter must be a CHAR(50). The field can contain a workstation name, an IPv4 address, or an IPv6 address.


Error Messages



API introduced: V4R2

[ Back to top | Server Support APIs | APIs by category ]