Difference between revisions of "Delete User Space (QUSDLTUS)"

From MidrangeWiki
Jump to: navigation, search
(Summary)
 
Line 21: Line 21:
 
end-pr;
 
end-pr;
 
</pre>
 
</pre>
 +
 +
== Example ==
 +
See the [[Get Job List]] service procedure.
  
 
== References ==
 
== References ==
 
* [[API Error Code Structure (ApiErrC)]]
 
* [[API Error Code Structure (ApiErrC)]]

Latest revision as of 17:24, 17 December 2018

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