Delete User Space (QUSDLTUS) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: Yes


The Delete User Space (QUSDLTUS) API deletes user spaces created with the Create User Space (QUSCRTUS) API. The QUSDLTUS API performs the same function as the Delete User Space (DLTUSRSPC) command.


Authorities and Locks

Library Authority
*EXECUTE
User Space Authority
*OBJEXIST
User Space Lock
*EXCL

Required Parameter Group

Qualified user space name
INPUT; CHAR(20)

The name of the user space and the name of the library in which it resides. The first 10 characters contain the user space name, and the second 10 characters contain the library name.

The user space name can be either a specific name or a generic name, a string of one or more characters followed by an asterisk (*). If you specify a generic name, QUSDLTUS deletes all user spaces that have names beginning with the string for which the user has authority.

You can use these special values for the library name:


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: V2R1

[ Back to top | Object APIs | APIs by category ]