UIM Get List Entry (QUIGETLE)

From MidrangeWiki
Revision as of 20:07, 4 December 2018 by DaveLClarkI (talk | contribs)
Jump to: navigation, search

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