UIM Update List Entry (QUIUPDLE)

From MidrangeWiki
Jump to: navigation, search


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

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

By Dave Clark

Prototype for the QUIUPDLE API

// IBM Update List Entry API
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quiupdle.htm
dcl-pr IBMUIM_UpdateListEntry     extpgm('QUIUPDLE');
  GeAppHndl             char(8)   const;
  GeBuffer              char(32767)         options(*varsize);
  GeBufLen              int(10)   const;
  GeRecName             char(10)  const;
  GeLstName             char(10)  const;
  GeUpdOpt              char(4)   const;
  GeLeHndl              char(4);
  GeErrCode             likeds(ApiErrC)     options(*varsize);