Retrieve Data Queue Description (QMHQRDQD)

From MidrangeWiki
Revision as of 20:49, 6 December 2018 by DaveLClarkI (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

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