Difference between revisions of "Retrieve Member Description (QUSRMBRD)"
From MidrangeWiki
DaveLClarkI (talk | contribs) (Created page with "Category:API Category:RPG_Prototypes == Summary == The following is an RPG/LE fully free-form prototype for the IBM QUSRMBRD API to retrieve the description for a sin...") |
DaveLClarkI (talk | contribs) (→Summary) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
The following is an RPG/LE fully free-form prototype for the IBM QUSRMBRD API to retrieve the description for a single database file member. | The following is an RPG/LE fully free-form prototype for the IBM QUSRMBRD API to retrieve the description for a single database file member. | ||
+ | |||
+ | For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qusrmbrd.htm Retrieve Member Description (QUSRMBRD) API] (right-click to open link in a new tab). | ||
+ | |||
+ | By [[User:DaveLClarkI|Dave Clark]] | ||
== Prototype for the QUSRMBRD API == | == Prototype for the QUSRMBRD API == | ||
Line 27: | Line 31: | ||
== References == | == References == | ||
− | * [[ | + | * [[API Error Code Structure (ApiErrC)]] |
Latest revision as of 16:56, 17 December 2018
Summary
The following is an RPG/LE fully free-form prototype for the IBM QUSRMBRD API to retrieve the description for a single database file member.
For more information on this API, visit Retrieve Member Description (QUSRMBRD) API (right-click to open link in a new tab).
By Dave Clark
Prototype for the QUSRMBRD API
//****************************************************************************** // IBM API to Retrieve a Member's Description // https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qusrmbrd.htm //****************************************************************************** /include qsysinc/qrpglesrc,qusrmbrd // QUSRMBRD API data structures dcl-pr IBMAPI_RtvMbrDesc extpgm('QUSRMBRD'); MbrDesc likeds(QUSM0100) options(*varsize); MbrDscL int(10) const; MbrDFmt char(8) const; MbrFile char(20) const; MbrName char(10) const; MbrOvrP char(1) const; // optional parm group 1 MbrErrC likeds(ApiErrC) options(*nopass:*varsize); // optional parm group 2 MbrFndP char(1) const options(*nopass); end-pr;