Difference between revisions of "UIM Get List Entry (QUIGETLE)"

From MidrangeWiki
Jump to: navigation, search
m (DaveLClarkI moved page QUIGETLE — Get List Entry to UIM Get List Entry (QUIGETLE): Better Indexing (too many Q's))
(References)
Line 28: Line 28:
  
 
== References ==
 
== References ==
* [[ApiErrC — API Error Code]]
+
* [[API Error Code Structure (ApiErrC)]]

Revision as of 22:59, 13 December 2018

Summary

The following is an RPG/LE fully free-form prototype for the IBM QUIGETLE API to use the UIM to get a list panel entry within an open display application.

Prototype for the QUIGETLE API

//******************************************************************************
// IBM Get List Entry API
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quigetle.htm
//******************************************************************************
dcl-pr IBMUIM_GetListEntry        extpgm('QUIGETLE');
  GeAppHndl             char(8)   const;
  GeBuffer              char(32767)         options(*varsize);
  GeBufLen              int(10)   const;
  GeRecName             char(10)  const;
  GeLstName             char(10)  const;
  GePosOpt              char(4)   const;
  GeCpyOpt              char(1)   const;
  GeSelCri              char(20)  const;
  GeSelHndl             char(4)   const;
  GeExtOpt              char(1)   const;
  GeLeHndl              char(4);
  GeErrCode             likeds(ApiErrC)     options(*varsize);
end-pr;

References