List ILE Program Information (QBNLPGMI)

From MidrangeWiki
Jump to: navigation, search


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
dcl-pr IBMAPI_ListIleProgramInfo  extpgm('QBNLPGMI');
  IlePgmSpcN            char(20)  const;
  IlePgmIFmt            char(8)   const;
  IlePgmName            char(20)  const;
  IlePgmErrC            likeds(ApiErrC)     options(*varsize);