Delete User Space (QUSDLTUS)

From MidrangeWiki
Jump to: navigation, search

Summary

The following is an RPG/LE fully free-form prototype for the IBM QUSDLTUS API to delete a user space.

For more information on this API, visit Delete User Space (QUSDLTUS) API (right-click to open link in a new tab).

By Dave Clark

Prototype for the QUSDLTUS API

//******************************************************************************
// IBM API to Delete a User Space
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qusdltus.htm
//******************************************************************************
dcl-pr IBMAPI_DeleteUserSpace     extpgm('QUSDLTUS');
  UsrSpcName            char(20)  const;
  UsrSpcErrC            likeds(ApiErrC)     options(*varsize);
end-pr;

Example

See the Get Job List service procedure.

References