Change Server Name (QZLSCHSN) API


  Required Parameter Group:


  Optional Parameter:


  Default Public Authority: *USE

  Threadsafe: No

The Change Server Name (QZLSCHSN) API changes the name by which the IBM® i Support for Windows® Network Neighborhood (IBM i NetServer™) server is known on the network. The changes made with this API do not take effect until the server is restarted.


Authorities and Locks

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


Required Parameter Group

Server name
INPUT; CHAR(15)

The name by which the system is known in the Windows Network Neighborhood.

Domain name
INPUT; CHAR(15)

The domain name (or workgroup) in which the server appears.

Text description
INPUT; CHAR(50)

The description of the system that appears on the network.

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

Allow system name
INPUT; CHAR(1)

Whether the server allows clients to connect using the system name found in the System i™ network attributes. Possible values are:

If the allow system name parameter is omitted, the API assumes that no change is requested and the current value remains unchanged.


Error Messages



API introduced: V4R2

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