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

From MidrangeWiki
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
== Summary ==
 
== 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.
 
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.
 +
 +
For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quiputv.htm Put Dialog Variable (QUIPUTV) API] (right-click to open link in a new tab).
 +
 +
By [[User:DaveLClarkI|Dave Clark]]
  
 
== Prototype for the QUIPUTV API ==
 
== Prototype for the QUIPUTV API ==
Line 18: Line 22:
 
end-pr;
 
end-pr;
 
</pre>
 
</pre>
 +
 +
== Example ==
 +
See the [[Find Source Member (FNDSRCMBR)]] sample command.
  
 
== References ==
 
== References ==
* [[ApiErrC — API Error Code]]
+
* [[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 QUIPUTV API to use the UIM to put a dialog variable into an open display application.

For more information on this API, visit Put Dialog Variable (QUIPUTV) API (right-click to open link in a new tab).

By Dave Clark

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;

Example

See the Find Source Member (FNDSRCMBR) sample command.

References