Difference between revisions of "Retrieve Pointer to User Space (QUSPTRUS)"

From MidrangeWiki
Jump to: navigation, search
m (DaveLClarkI moved page QUSPTRUS — Retrieve Pointer to User Space to Retrieve Pointer to User Space (QUSPTRUS): Better Indexing (too many Q's))
Line 1: Line 1:
 
[[Category:API]]
 
[[Category:API]]
 
[[Category:RPG_Prototypes]]
 
[[Category:RPG_Prototypes]]
 +
[[User Spaces]]
 
== Summary ==
 
== Summary ==
  

Revision as of 20:35, 6 December 2018

User Spaces

Summary

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

Prototype for the QUSPTRUS API

//******************************************************************************
// IBM API to Retrieve a Pointer to a User Space
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qusptrus.htm
//******************************************************************************
dcl-pr IBMAPI_RtvPtrUsrSpace      extpgm('QUSPTRUS');
  UsrSpcName            char(20)  const;
  UsrSpcPtr             pointer;
// optional parm group
  UsrSpcErrC            likeds(ApiErrC)     options(*nopass:*varsize);
end-pr;

References