Difference between revisions of "List ILE Service Program Information (QBNLSPGM)"

From MidrangeWiki
Jump to: navigation, search
(Created page with "Category:API Category:RPG_Prototypes == Summary == The following is an RPG/LE fully free-form prototype for the IBM QBNLSPGM API to list ILE service program informati...")
 
(Summary)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:API]]
 
[[Category:API]]
 
[[Category:RPG_Prototypes]]
 
[[Category:RPG_Prototypes]]
 +
[[Category:User_Spaces]]
 
== Summary ==
 
== Summary ==
  
 
The following is an RPG/LE fully free-form prototype for the IBM QBNLSPGM API to list ILE service program information into a user space.
 
The following is an RPG/LE fully free-form prototype for the IBM QBNLSPGM API to list ILE service 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/qbnlspgm.htm List Service Program Information (QBNLSPGM) API] (right-click to open link in a new tab).
 +
 +
By [[User:DaveLClarkI|Dave Clark]]
  
 
== Prototype for the QBNLSPGM API ==
 
== Prototype for the QBNLSPGM API ==
Line 20: 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 QBNLSPGM API to list ILE service program information into a user space.

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

By Dave Clark

Prototype for the QBNLSPGM API

//******************************************************************************
// IBM API to List ILE Service Program Information into a User Space
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qbnlspgm.htm
//******************************************************************************
dcl-pr IBMAPI_ListSrvProgramInfo  extpgm('QBNLSPGM');
  SrvPgmSpcN            char(20)  const;
  SrvPgmIFmt            char(8)   const;
  SrvPgmName            char(20)  const;
  SrvPgmErrC            likeds(ApiErrC)     options(*varsize);
end-pr;

References