Remove Server Share (QZLSRMS) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Remove Server Share (QZLSRMS) API removes a share from the list of files or printers on the server. When this function removes a share, all connections to the shared resource are disconnected.


Authorities and Locks

To use this API, you must have *IOSYSCFG special authority, own the integrated file system directory, or own the system output queue that the share references.


Required Parameter Group

Share name
INPUT; CHAR(12)

The name of the share to be removed.

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



API introduced: V4R2

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