UIM Close Application (QUICLOA)

From MidrangeWiki
Revision as of 14:18, 7 January 2019 by DaveLClarkI (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Summary

The following is an RPG/LE fully free-form prototype for the IBM QUICLOA API to use the UIM to close an open application.

For more information on this API, visit Close Application (QUICLOA) API (right-click to open link in a new tab).

By Dave Clark

Prototype for the QUICLOA API

//******************************************************************************
// IBM Open Application API
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quicloa.htm
//******************************************************************************
dcl-pr IBMUIM_CloseApplication    extpgm('QUICLOA');
  CaHandle              char(8)   const;
  CaOption              char(1)   const;
  CaErrCode             likeds(ApiErrC)     options(*varsize);
end-pr;

Example

See the Find Source Member (FNDSRCMBR) sample command.

References