Start Server (QZLSSTRS) API


  Required Parameter Group:

1 Reset qualifier Input Char(1)
2 Error code I/O Char(*)

  Default Public Authority: *USE

  Threadsafe: No

The Start Server (QZLSSTRS) API starts the jobs necessary for the IBM® i Support for Windows® Network Neighborhood (IBM i NetServer™) server to run. If the jobs are already running, the API will fail.

This API does not start the QSERVER subsystem (in which the jobs run). If the QSERVER subsystem is not running, the API will fail.


Authorities and Locks

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


Required Parameter Group

Reset qualifier
INPUT; CHAR(1)

Whether the server is reset when started. Possible values are:

0 Server not reset
1 Server reset

Error code
I/O; CHAR(*)

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


Error Messages

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.
CPFB684 E User does not have the correct authority for API &1.
CPFB685 E IBM i Support for Windows Network Neighborhood (IBM i NetServer) was unable to start.


API introduced: V4R2

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