Difference between revisions of "Retrieve Data Queue Description (QMHQRDQD)"

From MidrangeWiki
Jump to: navigation, search
(Created page with "Category:API Category:RPG_Prototypes Category:Data Queue == Summary == The following is an RPG/LE fully free-form prototype for the IBM QMHQRDQD API to retrieve t...")
 
(Summary)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:API]]
 
[[Category:API]]
 
[[Category:RPG_Prototypes]]
 
[[Category:RPG_Prototypes]]
[[Category:Data Queue]]
+
[[Category:Data_Queue]]
 
== Summary ==
 
== Summary ==
 +
The following is an RPG/LE fully free-form prototype for the IBM QMHQRDQD API to retrieve the object description for a data queue.
  
The following is an RPG/LE fully free-form prototype for the IBM QMHQRDQD API to retrieve the object description for a data queue.
+
For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qmhqrdqd.htm Retrieve Data Queue Description (QMHQRDQD) API] (right-click to open link in a new tab).
 +
 
 +
By [[User:DaveLClarkI|Dave Clark]]
  
 
== Prototype for the QMHQRDQD API ==
 
== Prototype for the QMHQRDQD API ==
Line 22: Line 25:
  
 
== References ==
 
== References ==
* [[ApiErrC — API Error Code]]
+
* [[API Error Code Structure (ApiErrC)]]

Latest revision as of 16:56, 17 December 2018

Summary

The following is an RPG/LE fully free-form prototype for the IBM QMHQRDQD API to retrieve the object description for a data queue.

For more information on this API, visit Retrieve Data Queue Description (QMHQRDQD) API (right-click to open link in a new tab).

By Dave Clark

Prototype for the QMHQRDQD API

//******************************************************************************
// IBM API to Retrieve a Data Queue's Description
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qmhqrdqd.htm
//******************************************************************************
/include qsysinc/qrpglesrc,qmhqrdqd         // QMHQRDQD API data structures
dcl-pr IBMAPI_RtvDtaQDesc         extpgm('QMHQRDQD');
  DtaQDesc              likeds(QMHD0100)    options(*varsize);
  DtaQDscL              int(10)   const;
  DtaQDFmt              char(8)   const;
  DtaQName              char(20)  const;
end-pr;

References