Difference between revisions of "Retrieve Subsystem Description (QWDRSBSD)"

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 QWDRSBSD API to retrieve information for a subsyst...")
 
(Summary)
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
The following is an RPG/LE fully free-form prototype for the IBM QWDRSBSD API to retrieve information for a subsystem description.
 
The following is an RPG/LE fully free-form prototype for the IBM QWDRSBSD API to retrieve information for a subsystem description.
 +
 +
For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qwdrsbsd.htm Retrieve Subsystem Information (QWDRSBSD) API] (right-click to open link in a new tab).
 +
 +
By [[User:DaveLClarkI|Dave Clark]]
  
 
== Prototype for the QWDRSBSD API ==
 
== Prototype for the QWDRSBSD API ==
Line 24: Line 28:
  
 
== References ==
 
== References ==
* [[ApiErrC — API Error Code]]
+
* [[API Error Code Structure (ApiErrC)]]

Latest revision as of 16:59, 17 December 2018

Summary

The following is an RPG/LE fully free-form prototype for the IBM QWDRSBSD API to retrieve information for a subsystem description.

For more information on this API, visit Retrieve Subsystem Information (QWDRSBSD) API (right-click to open link in a new tab).

By Dave Clark

Prototype for the QWDRSBSD API

//******************************************************************************
// IBM API to Retrieve a Subsystem Description
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qwdrsbsd.htm
//******************************************************************************
/include qsysinc/qrpglesrc,qwdrsbsd         // QWDRSBSD API data structures
dcl-pr IBMAPI_RtvSbsDesc          extpgm('QWDRSBSD');
  SbsDscInfo            likeds(QWDI0200)    options(*varsize);
  SbsDscInfL            int(10)   const;
  SbsDscFmt             char(8)   const;
  SbsDscName            char(20)  dim(1)    const  options(*varsize);
  SbsDscErrC            likeds(ApiErrC)     options(*varsize);
// optional parm group
  SbsDscCntN            int(10)   const     options(*nopass);
end-pr;

References