List ILE Module Information (QBNLMODI)

From MidrangeWiki
Jump to: navigation, search

Summary

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

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

By Dave Clark

Prototype for the QBNLMODI API

//******************************************************************************
// IBM API to List ILE Module Information into a User Space
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qbnlmodi.htm
//******************************************************************************
dcl-pr IBMAPI_ListIleModuleInfo   extpgm('QBNLMODI');
  IleModSpcN            char(20)  const;
  IleModIFmt            char(8)   const;
  IleModName            char(20)  const;
  IleModErrC            likeds(ApiErrC)     options(*varsize);
end-pr;

References