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

From MidrangeWiki
Jump to: navigation, search
m
(grammar, +fully free prototype)
Line 1: Line 1:
 
[[Category:RPG_Prototypes]]
 
[[Category:RPG_Prototypes]]
 
[[Category:Data Queue]]
 
[[Category:Data Queue]]
Clear's an existing [[:Category:Data Queue|Data Queue]]
+
Clears an existing [[:Category:Data Queue|Data Queue]]
 +
 
 +
Pre-7.2 format:
 
<pre>
 
<pre>
 
DQCLRDTAQ        PR                  EXTPGM('QCLRDTAQ')   
 
DQCLRDTAQ        PR                  EXTPGM('QCLRDTAQ')   
 
D prDQName                      10A  const               
 
D prDQName                      10A  const               
 
D prDQLibr                      10A  const               
 
D prDQLibr                      10A  const               
 +
</pre>
 +
 +
7.2+ format:
 +
<pre>
 +
dcl-pr QCLRDTAQ extpgm('QCLRDTAQ');
 +
  prDQName char(10) const;
 +
  prDQLibr char(10) const;
 +
end-pr;
 
</pre>
 
</pre>

Revision as of 14:22, 2 June 2015

Clears an existing Data Queue

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;
end-pr;