Difference between revisions of "List ILE Program Information (QBNLPGMI)"

From MidrangeWiki
Jump to: navigation, search
(Summary)
(Summary)
 
(4 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
The following is an RPG/LE fully free-form prototype for the IBM QBNLPGMI API to list ILE program information into a user space.
 
The following is an RPG/LE fully free-form prototype for the IBM QBNLPGMI API to list ILE program information into a user space.
  
For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qbnlpgmi.htm List Program Information (QBNLPGMI) API] (right-click to open link in a new tab).
+
For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qbnlpgmi.htm List ILE Program Information (QBNLPGMI) API] (right-click to open link in a new tab).
 +
 
 +
By [[User:DaveLClarkI|Dave Clark]]
  
 
== Prototype for the QBNLPGMI API ==
 
== Prototype for the QBNLPGMI API ==
Line 23: Line 25:
  
 
== References ==
 
== References ==
* [[ApiErrC — API Error Code]]
+
* [[API Error Code Structure (ApiErrC)]]

Latest revision as of 16:51, 17 December 2018

Summary

The following is an RPG/LE fully free-form prototype for the IBM QBNLPGMI API to list ILE program information into a user space.

For more information on this API, visit List ILE Program Information (QBNLPGMI) API (right-click to open link in a new tab).

By Dave Clark

Prototype for the QBNLPGMI API

//******************************************************************************
// IBM API to List ILE Program Information into a User Space
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qbnlpgmi.htm
//******************************************************************************
dcl-pr IBMAPI_ListIleProgramInfo  extpgm('QBNLPGMI');
  IlePgmSpcN            char(20)  const;
  IlePgmIFmt            char(8)   const;
  IlePgmName            char(20)  const;
  IlePgmErrC            likeds(ApiErrC)     options(*varsize);
end-pr;

References