Difference between revisions of "UIM Display Panel (QUIDSPP)"
From MidrangeWiki
DaveLClarkI (talk | contribs) |
DaveLClarkI (talk | contribs) |
||
(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/quidspp.htm Display Panel (QUIDSPP) 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/quidspp.htm Display Panel (QUIDSPP) API] (right-click to open link in a new tab). | ||
+ | |||
+ | By [[User:DaveLClarkI|Dave Clark]] | ||
== Prototype for the QUIDSPP API == | == Prototype for the QUIDSPP API == | ||
Line 33: | Line 35: | ||
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:52, 21 December 2018
Summary
The following is an RPG/LE fully free-form prototype for the IBM QUIDSPP API to use the UIM to display a panel within an open display application.
For more information on this API, visit Display Panel (QUIDSPP) API (right-click to open link in a new tab).
By Dave Clark
Prototype for the QUIDSPP API
//****************************************************************************** // IBM Display Panel API // https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quidspp.htm //****************************************************************************** dcl-pr IBMUIM_DisplayPanel extpgm('QUIDSPP'); DpHandle char(8) const; DpFunction int(10) const; DpPnlName char(10) const; DpRdsply char(1) const; DpErrCode likeds(ApiErrC) options(*varsize); //optional parm group 1 DpUsrTask char(1) const options(*nopass); DpCstkCnt int(10) const options(*nopass); DpMsgQue char(256) const options(*nopass:*varsize); DpMsgKey char(4) const options(*nopass); DpCsrPos char(1) const options(*nopass); DpLstEntry char(4) const options(*nopass); DpErrEntry char(4) const options(*nopass); DpWaitTime int(10) const options(*nopass); //optional parm group 2 DpMsgQueL int(10) const options(*nopass); DpMsgQueQ char(20) const options(*nopass); end-pr;
Example
See the Find Source Member (FNDSRCMBR) sample command.