Difference between revisions of "UIM Close Application (QUICLOA)"

From MidrangeWiki
Jump to: navigation, search
m (DaveLClarkI moved page QUICLOA — Close Application to UIM Close Application (QUICLOA): Better Indexing (too many Q's))
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
The following is an RPG/LE fully free-form prototype for the IBM QUICLOA API to use the UIM to close an open application.
 
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 [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quicloa.htm Close Application (QUICLOA) API] (right-click to open link in a new tab).
 +
 +
By [[User:DaveLClarkI|Dave Clark]]
  
 
== Prototype for the QUICLOA API ==
 
== Prototype for the QUICLOA API ==
Line 17: Line 21:
 
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 19:18, 7 January 2019

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