Difference between revisions of "Retrieve Database File Description (QDBRTVFD)"
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 QDBRTVFD API to retrieve the description for a data...") |
DaveLClarkI (talk | contribs) |
||
Line 27: | Line 27: | ||
end-pr; | end-pr; | ||
</pre> | </pre> | ||
+ | |||
+ | == Example == | ||
+ | See the [[Find Source Member (FNDSRCMBR)]] sample command. | ||
== References == | == References == | ||
* [[API Error Code Structure (ApiErrC)]] | * [[API Error Code Structure (ApiErrC)]] |
Latest revision as of 21:40, 2 January 2019
Summary
The following is an RPG/LE fully free-form prototype for the IBM QDBRTVFD API to retrieve the description for a data file.
For more information on this API, visit Retrieve Database File Description (QDBRTVFD) API (right-click to open link in a new tab).
By Dave Clark
Prototype for the QDBRTVFD API
//****************************************************************************** // IBM API to Retrieve a Database File Description // https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qdbrtvfd.htm //****************************************************************************** dcl-pr IBMAPI_RtvFileDesc extpgm('QDBRTVFD'); FileDesc char(32767) options(*varsize); FileDscL int(10) const; FileQNam char(20); FileDFmt char(8) const; FileName char(20) const; FileRFmt char(10) const; FileOvrP char(1) const; FileSysN char(10) const; FileFmtT char(10) const; FileErrC likeds(ApiErrC) options(*varsize); end-pr;
Example
See the Find Source Member (FNDSRCMBR) sample command.