Difference between revisions of "Clear Data Queue (QCLRDTAQ)"

From MidrangeWiki
Jump to: navigation, search
m
(References)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category:API]]
 
[[Category:RPG_Prototypes]]
 
[[Category:RPG_Prototypes]]
 
[[Category:Data Queue]]
 
[[Category:Data Queue]]
Clear's an existing [[:Category:Data Queue|Data Queue]]
+
== Summary ==
 +
Clears an existing [[:Category:Data Queue|Data Queue]].
 +
 
 +
For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qclrdtaq.htm Clear Data Queue (QCLRDTAQ) API] (right-click to open link in a new tab).
 +
 
 +
== Prototype for the QCLRDTAQ API ==
 +
Pre-7.2 format:
 
<pre>
 
<pre>
 
DQCLRDTAQ        PR                  EXTPGM('QCLRDTAQ')   
 
DQCLRDTAQ        PR                  EXTPGM('QCLRDTAQ')   
Line 7: Line 14:
 
D prDQLibr                      10A  const               
 
D prDQLibr                      10A  const               
 
</pre>
 
</pre>
 +
 +
7.2+ format:
 +
<pre>
 +
dcl-pr QCLRDTAQ extpgm('QCLRDTAQ');
 +
  prDQName char(10) const;
 +
  prDQLibr char(10) const;
 +
// optional parm group
 +
  prKeyOrd  char(2)    const options(*nopass);
 +
  prKeyLen  packed(3:0) const options(*nopass);
 +
  prKeyData char(256)  const options(*nopass:*varsize);
 +
  prErrCode likeds(ApiErrC)  options(*nopass:*varsize);
 +
end-pr;
 +
</pre>
 +
 +
== References ==
 +
* [[API Error Code Structure (ApiErrC)]]

Latest revision as of 22:42, 13 December 2018

Summary

Clears an existing Data Queue.

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

Prototype for the QCLRDTAQ API

Pre-7.2 format:

DQCLRDTAQ         PR                  EXTPGM('QCLRDTAQ')  
D prDQName                      10A   const               
D prDQLibr                      10A   const               

7.2+ format:

dcl-pr QCLRDTAQ extpgm('QCLRDTAQ');
  prDQName char(10) const;
  prDQLibr char(10) const;
// optional parm group
  prKeyOrd  char(2)     const options(*nopass);
  prKeyLen  packed(3:0) const options(*nopass);
  prKeyData char(256)   const options(*nopass:*varsize);
  prErrCode likeds(ApiErrC)   options(*nopass:*varsize);
end-pr;

References