List ILE Program Information (QBNLPGMI)

From MidrangeWiki
Jump to: navigation, search

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