<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=MODIFY_QUEUE_statement</id>
	<title>MODIFY QUEUE statement - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=MODIFY_QUEUE_statement"/>
	<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=MODIFY_QUEUE_statement&amp;action=history"/>
	<updated>2026-05-01T00:46:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=MODIFY_QUEUE_statement&amp;diff=118394&amp;oldid=prev</id>
		<title>Ekern: Created page with &quot;==MODIFY QUEUE statement==  ====Function==== &lt;p&gt; Alters the current default option(s) for an open queue for the issuing user.&lt;/p&gt;  ====Syntax==== &lt;p class=&quot;syntax&quot;&gt;MODIFY QUEU...&quot;</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=MODIFY_QUEUE_statement&amp;diff=118394&amp;oldid=prev"/>
		<updated>2022-01-25T22:05:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==MODIFY QUEUE statement==  ====Function==== &amp;lt;p&amp;gt; Alters the current default option(s) for an open queue for the issuing user.&amp;lt;/p&amp;gt;  ====Syntax==== &amp;lt;p class=&amp;quot;syntax&amp;quot;&amp;gt;MODIFY QUEU...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==MODIFY QUEUE statement==&lt;br /&gt;
&lt;br /&gt;
====Function====&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Alters the current default option(s) for an open queue for the issuing user.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Syntax====&lt;br /&gt;
&amp;lt;p class=&amp;quot;syntax&amp;quot;&amp;gt;MODIFY QUEUE {%&amp;lt;span class=&amp;quot;term&amp;quot;&amp;gt;variable&amp;lt;/span&amp;gt; | &amp;lt;span class=&amp;quot;term&amp;quot;&amp;gt;name&amp;lt;/span&amp;gt; |&lt;br /&gt;
  &amp;lt;span class=&amp;quot;term&amp;quot;&amp;gt;external_qmanager&amp;lt;/span&amp;gt;:&amp;lt;span class=&amp;quot;term&amp;quot;&amp;gt;external_queue&amp;lt;/span&amp;gt;} &lt;br /&gt;
  {[&amp;lt;span class=&amp;quot;term&amp;quot;&amp;gt;option&amp;lt;/span&amp;gt;...] [?%&amp;lt;span class=&amp;quot;term&amp;quot;&amp;gt;variable&amp;lt;/span&amp;gt;...]}&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Where====&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Queue to operate on is specified as:&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr class=&amp;quot;head&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Queue as...&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Specifies&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;%&amp;lt;var class=&amp;quot;term&amp;quot;&amp;gt;variable&amp;lt;/var&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Queue name&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;var class=&amp;quot;term&amp;quot;&amp;gt;name&amp;lt;/var&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Literal without quotation marks&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;var class=&amp;quot;term&amp;quot;&amp;gt;external_qmanager&amp;lt;/var&amp;gt;:&amp;lt;var class=&amp;quot;term&amp;quot;&amp;gt;external_queue&amp;lt;/var&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;External name of a queue manager that contains the remote queue to process and the external name of the remote queue&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
&amp;lt;var class=&amp;quot;term&amp;quot;&amp;gt;option&amp;lt;/var&amp;gt; is one or more of the following options:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;ACCEPT_TRUNCATED_MSG or NO_ACCEPT_TRUNCATED_MSG &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;ALL_MSGS_AVAILABLE or NOT_ALL_MSGS_AVAILABLE (default)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;CONTEXT&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;EXPIRY&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;FAIL_IF_QUIESCING or NO_FAIL_IF_QUIESCING &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;FORMAT&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;LOGICAL_ORDER or NOT_LOGICAL_ORDER (default)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;MSGTYPE&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;PERSISTENT or NOT_PERSISTENT &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;PERSISTENCE_AS_Q_DEF &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;SYNCPOINT or NO_SYNCPOINT &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;PRIORITY or PRIORITY_AS_Q_DEF&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;REPLY_QMGR&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;REPLY_QUEUE&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;REPORT&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;WAIT or NO_WAIT &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;WAIT_TIME&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
?%&amp;lt;var class=&amp;quot;term&amp;quot;&amp;gt;variable&amp;lt;/var&amp;gt; specifies option(s) of the MODIFY QUEUE statement to compile at evaluation time. For more information on ?%variables, see [[MQ/204 queue management#Using runtime options|Using runtime options]].&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Usage====&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Options that apply to MQGET, MQPUT, and MQPUT1 statements can be specified in the DEFINE QUEUE command, and defaults for MQGET and MQPUT statements can be specified in an OPEN QUEUE statement. &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
You can override defined options by specifying the desired options directly on an MQGET, MQPUT, or MQPUT1 statement. &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
If you are repeatedly overriding DEFINE QUEUE command options, you might prefer to alter the current options for an open queue using the MODIFY QUEUE statement.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Ekern</name></author>
	</entry>
</feed>