UIM Get List Entry (QUIGETLE)

From MidrangeWiki
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.

For more information on this API, visit Get List Entry (QUIGETLE) API (right-click to open link in a new tab).

By Dave Clark

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