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

From MidrangeWiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
The following is an RPG/LE fully free-form prototype for the IBM QUSDLTUS API to delete a user space.
 
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 [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qusdltus.htm Delete User Space (QUSDLTUS) API] (right-click to open link in a new tab).
 +
 +
By [[User:DaveLClarkI|Dave Clark]]
  
 
== Prototype for the QUSDLTUS API ==
 
== Prototype for the QUSDLTUS API ==
Line 17: Line 21:
 
end-pr;
 
end-pr;
 
</pre>
 
</pre>
 +
 +
== Example ==
 +
See the [[Get Job List]] service procedure.
  
 
== References ==
 
== References ==
* [[ApiErrC — API Error Code]]
+
* [[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