Difference between revisions of "UIM Add List Entry (QUIADDLE)"

From MidrangeWiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
  
 
For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quiaddle.htm Add List Entry (QUIADDLE) API] (right-click to open link in a new tab).
 
For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quiaddle.htm Add List Entry (QUIADDLE) API] (right-click to open link in a new tab).
 +
 +
By [[User:DaveLClarkI|Dave Clark]]
  
 
== Prototype for the QUIADDLE API ==
 
== Prototype for the QUIADDLE API ==
Line 24: Line 26:
 
end-pr;
 
end-pr;
 
</pre>
 
</pre>
 +
 +
== Example ==
 +
See the [[Find Source Member (FNDSRCMBR)]] sample command.
  
 
== References ==
 
== References ==
 
* [[API Error Code Structure (ApiErrC)]]
 
* [[API Error Code Structure (ApiErrC)]]

Latest revision as of 15:51, 21 December 2018

Summary

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

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

By Dave Clark

Prototype for the QUIADDLE API

//******************************************************************************
// IBM Add List Entry API
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quiaddle.htm
//******************************************************************************
dcl-pr IBMUIM_AddListEntry        extpgm('QUIADDLE');
  AeHandle              char(8)   const;
  AeBuffer              char(32767)         options(*varsize);
  AeBufLen              int(10)   const;
  AeRecName             char(10)  const;
  AeLstName             char(10)  const;
  AeOption              char(4)   const;
  AeHandle              char(4);
  AeErrCode             likeds(ApiErrC)     options(*varsize);
end-pr;

Example

See the Find Source Member (FNDSRCMBR) sample command.

References