Close List (QGYCLST)

From MidrangeWiki
Revision as of 20:25, 6 December 2018 by DaveLClarkI (talk | contribs) (DaveLClarkI moved page QGYCLST — Close List to Close List (QGYCLST): Better Indexing (too many Q's))
Jump to: navigation, search

Summary

The following is an RPG/LE fully free-form prototype for the IBM QGYCLST API to close a previously opened list.

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