List ILE Service Program Information (QBNLSPGM)

From MidrangeWiki
Revision as of 16:51, 17 December 2018 by DaveLClarkI (talk | contribs) (Summary)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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
dcl-pr IBMAPI_ListSrvProgramInfo  extpgm('QBNLSPGM');
  SrvPgmSpcN            char(20)  const;
  SrvPgmIFmt            char(8)   const;
  SrvPgmName            char(20)  const;
  SrvPgmErrC            likeds(ApiErrC)     options(*varsize);