Difference between revisions of "Close List (QGYCLST)"
From MidrangeWiki
DaveLClarkI (talk | contribs) m (DaveLClarkI moved page QGYCLST — Close List to Close List (QGYCLST): Better Indexing (too many Q's)) |
DaveLClarkI (talk | contribs) |
||
(3 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 QGYCLST API to close a previously opened list. | The following is an RPG/LE fully free-form prototype for the IBM QGYCLST API to close a previously opened list. | ||
+ | |||
+ | For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qgyclst.htm Close List (QGYCLST) API] (right-click to open link in a new tab). | ||
+ | |||
+ | By [[User:DaveLClarkI|Dave Clark]] | ||
==Prototype for the QGYCLST API== | ==Prototype for the QGYCLST API== | ||
Line 16: | Line 20: | ||
end-pr; | end-pr; | ||
</pre> | </pre> | ||
+ | |||
+ | == Example == | ||
+ | See the [[Get Last Joblog Messages]] service procedure. | ||
==References== | ==References== | ||
− | * [[ | + | * [[API Error Code Structure (ApiErrC)]] |
Latest revision as of 21:35, 17 December 2018
Summary
The following is an RPG/LE fully free-form prototype for the IBM QGYCLST API to close a previously opened list.
For more information on this API, visit Close List (QGYCLST) API (right-click to open link in a new tab).
By Dave Clark
Prototype for the QGYCLST API
//****************************************************************************** // IBM API to Close an open List // https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qgyclst.htm //****************************************************************************** dcl-pr IBMAPI_CloseList extpgm('QGYCLST'); LstHandle char(4) const; LstErrC likeds(ApiErrC) options(*varsize); end-pr;
Example
See the Get Last Joblog Messages service procedure.