Difference between revisions of "UIM Get Dialog Variable (QUIGETV)"

From MidrangeWiki
Jump to: navigation, search
(Summary)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[Category:API]]
 
[[Category:RPG_Prototypes]]
 
[[Category:RPG_Prototypes]]
[[Category:API]]
 
 
== Summary ==
 
== Summary ==
 
The following is an RPG/LE fully free-form prototype for the IBM QUIGETV API to use the UIM to get a dialog variable from an open display application.
 
The following is an RPG/LE fully free-form prototype for the IBM QUIGETV API to use the UIM to get a dialog variable from an open display application.
 +
 +
For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quigetv.htm Get Dialog Variable (QUIGETV) API] (right-click to open link in a new tab).
 +
 +
By [[User:DaveLClarkI|Dave Clark]]
  
 
== Prototype for the QUIGETV API ==
 
== Prototype for the QUIGETV 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 QUIGETV API to use the UIM to get a dialog variable from an open display application.

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

By Dave Clark

Prototype for the QUIGETV API

//******************************************************************************
// IBM Get Dialog Variable API
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quigetv.htm
//******************************************************************************
dcl-pr IBMUIM_GetVariable         extpgm('QUIGETV');
  GvHandle              char(8)   const;
  GvBuffer              char(32767)         options(*varsize);
  GvBufLen              int(10)   const;
  GvRecName             char(10)  const;
  GvErrCode             likeds(ApiErrC)     options(*varsize);
end-pr;

Example

See the Find Source Member (FNDSRCMBR) sample command.

References