UIM Get Dialog Variable (QUIGETV)

From MidrangeWiki
Revision as of 18:11, 4 December 2018 by DaveLClarkI (talk | contribs) (Summary)
Jump to: navigation, search

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.

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;

References