UIM Display Panel (QUIDSPP)

From MidrangeWiki
Revision as of 14:20, 6 December 2018 by DaveLClarkI (talk | contribs) (DaveLClarkI moved page QUIDSPP — Display Panel to UIM Display Panel (QUIDSPP): Better Indexing (too many Q's))
Jump to: navigation, search


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.

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);