UIM Close Application (QUICLOA)

From MidrangeWiki
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