Difference between revisions of "Retrieve Object Description (QUSROBJD)"
From MidrangeWiki
DaveLClarkI (talk | contribs) |
DaveLClarkI (talk | contribs) (→References) |
||
Line 28: | Line 28: | ||
== References == | == References == | ||
− | * [[ | + | * [[API Error Code Structure (ApiErrC)]] |
Revision as of 22:56, 13 December 2018
Summary
The following is an RPG/LE fully free-form prototype for the IBM QUSROBJD API to retrieve the description for a specified object. The calling process must have at least *USE authority for the object.
For more information on this API, visit Retrieve Object Description (QUSROBJD) API (right-click to open link in a new tab).
Prototype for the QUSROBJD API
//****************************************************************************** // IBM API to Retrieve an Object's Description (if authorized to object) // https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qusrobjd.htm //****************************************************************************** /include qsysinc/qrpglesrc,qusrobjd // QUSROBJD API data structures dcl-pr IBMAPI_RtvObjDesc extpgm('QUSROBJD'); ObjDesc likeds(QUSD0400) options(*varsize); ObjDscL int(10) const; ObjDFmt char(8) const; ObjName char(20) const; ObjType char(10) const; // optional parm group 1 ObjErrC likeds(ApiErrC) options(*nopass:*varsize); // optional parm group 2 ObjAspC likeds(QUSRASPC) options(*nopass); end-pr;