Difference between revisions of "Close List (QGYCLST)"

From MidrangeWiki
Jump to: navigation, search
(References)
Line 20: Line 20:
  
 
==References==
 
==References==
* [[ApiErrC — API Error Code]]
+
* [[API Error Code Structure (ApiErrC)]]

Revision as of 22:42, 13 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).

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;

References