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

From MidrangeWiki
Jump to: navigation, search
(Created page with "Category:RPG_Prototypes Category:API == Summary == The following is an RPG/LE fully free-form prototype for the IBM QUICLOA API to use the UIM to close an open applic...")
 
 
(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 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