Difference between revisions of "UIM Put Dialog Variable (QUIPUTV)"

From MidrangeWiki
Jump to: navigation, search
m (DaveLClarkI moved page QUIPUTV — Put Dialog Variable to UIM Put Dialog Variable (QUIPUTV): Better Indexing (too many Q's))
(References)
Line 20: Line 20:
  
 
== References ==
 
== References ==
* [[ApiErrC — API Error Code]]
+
* [[API Error Code Structure (ApiErrC)]]

Revision as of 22:59, 13 December 2018

Summary

The following is an RPG/LE fully free-form prototype for the IBM QUIPUTV API to use the UIM to put a dialog variable into an open display application.

Prototype for the QUIPUTV API

//******************************************************************************
// IBM Put Dialog Variable API
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quiputv.htm
//******************************************************************************
dcl-pr IBMUIM_PutVariable         extpgm('QUIPUTV');
  PvHandle              char(8)   const;
  PvBuffer              char(32767)         options(*varsize);
  PvBufLen              int(10)   const;
  PvRecName             char(10)  const;
  PvErrCode             likeds(ApiErrC)     options(*varsize);
end-pr;

References