<?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=SirSafe_SIRENQ_utility</id>
	<title>SirSafe SIRENQ utility - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=SirSafe_SIRENQ_utility"/>
	<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=SirSafe_SIRENQ_utility&amp;action=history"/>
	<updated>2026-04-16T06:11:10Z</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=SirSafe_SIRENQ_utility&amp;diff=94737&amp;oldid=prev</id>
		<title>Admin: 1 revision: SirSafe pages</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=SirSafe_SIRENQ_utility&amp;diff=94737&amp;oldid=prev"/>
		<updated>2016-11-30T21:32:40Z</updated>

		<summary type="html">&lt;p&gt;1 revision: SirSafe pages&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:32, 30 November 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=SirSafe_SIRENQ_utility&amp;diff=94736&amp;oldid=prev</id>
		<title>JAL: misc cleanup</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=SirSafe_SIRENQ_utility&amp;diff=94736&amp;oldid=prev"/>
		<updated>2016-11-23T23:06:59Z</updated>

		<summary type="html">&lt;p&gt;misc cleanup&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SIRENQ&amp;lt;/var&amp;gt; utility is designed to be run as a started task or batch job&lt;br /&gt;
under all the MVS instances that can host &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt; jobs.&lt;br /&gt;
&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SIRENQ&amp;lt;/var&amp;gt; performs three functions that significantly enhance the&lt;br /&gt;
operation of &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt; in Sysplex and multiple LPAR installations:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Verifies that &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt; database file enqueues are automatically promoted from the&lt;br /&gt;
&amp;lt;code&amp;gt;SYSTEM&amp;lt;/code&amp;gt; scope to the &amp;lt;code&amp;gt;SYSTEMS&amp;lt;/code&amp;gt; scope on the current MVS instance.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Establishes an enqueue that can be &amp;quot;seen&amp;quot; by other members of a Global Resource Serialization (GRS) ring.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Monitors and reports to the operator the other visible instances of &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SIRENQ&amp;lt;/var&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For additional details about &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SIRENQ&amp;lt;/var&amp;gt;, see the [[SirSafe enhanced shared DASD enqueueing#sirenq|SIRENQ]] section in the discussion of SirSafe enhancement of shared DASD enqueueing.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SIRENQ&amp;lt;/var&amp;gt; is distributed as a single object deck, which may be downloaded as directed&lt;br /&gt;
by Technical Support or included on a product distribution tape.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SIRENQ&amp;lt;/var&amp;gt; must be linkage edited with &amp;lt;code&amp;gt;AMODE(31)&amp;lt;/code&amp;gt;. Also, &amp;lt;code&amp;gt;RMODE(ANY)&amp;lt;/code&amp;gt;&lt;br /&gt;
is suggested.&lt;br /&gt;
&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SIRENQ&amp;lt;/var&amp;gt; &amp;lt;i&amp;gt;does not&amp;lt;/i&amp;gt; require APF authorization.&lt;br /&gt;
&lt;br /&gt;
The following job could be used to linkage edit &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SIRENQ&amp;lt;/var&amp;gt;:&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;//LINKENQ  JOB  CLASS=A,MSGCLASS=A&lt;br /&gt;
//*&lt;br /&gt;
//* LINK SIRENQ INTO SIRENQ.V101.LOAD, WHICH DOES&lt;br /&gt;
//* NOT NEED TO BE APF-AUTHORIZED&lt;br /&gt;
//*&lt;br /&gt;
//LINK     EXEC PGM=HEWLKED,REGION=0M,&lt;br /&gt;
//          PARM=&amp;#039;LIST,LET,MAP,NCAL,SIZE=(2048K,512K),AC=0&amp;#039;&lt;br /&gt;
//SYSPRINT DD   SYSOUT=*&lt;br /&gt;
//SYSUT1   DD   UNIT=VIO,SPACE=(3200,(300,150))&lt;br /&gt;
//SYSLMOD  DD   DSN=SIRENQ.V101.LOAD,DISP=SHR&lt;br /&gt;
//SYSLIN   DD   *&lt;br /&gt;
 &amp;lt;b&amp;gt;&amp;lt;insert SIRENQ object deck&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
 ENTRY   SIRENQ&lt;br /&gt;
 NAME   SIRENQ(R)&lt;br /&gt;
/*&lt;br /&gt;
//&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before SIRENQ can be used, a &amp;lt;code&amp;gt;GRSRNL&amp;lt;i&amp;gt;xx&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt; parmlib member must be modified and&lt;br /&gt;
activated to override the scope specification for the enqueue requests used by &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt;.&lt;br /&gt;
This is accomplished by adding the following entries in a &amp;lt;code&amp;gt;GRSRNL&amp;lt;i&amp;gt;xx&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt; member:&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;RNLDEF RNL(INCL) TYPE(GENERIC) QNAME(IFAMQA)&lt;br /&gt;
RNLDEF RNL(INCL) TYPE(GENERIC) QNAME(IFAMQB)&lt;br /&gt;
RNLDEF RNL(INCL) TYPE(GENERIC) QNAME(IFAMQC)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Executing SIRENQ==&lt;br /&gt;
&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SIRENQ&amp;lt;/var&amp;gt; can be invoked as a started task or a batch job, depending upon local preference.&lt;br /&gt;
If the current configuration does not correctly promote the enqueues used by&lt;br /&gt;
&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt;, SIRENQ issues an error message and terminates.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SIRENQ&amp;lt;/var&amp;gt; consumes very few system resources, although it does maintain three exclusive&lt;br /&gt;
enqueues that are issued with a scope of &amp;lt;code&amp;gt;SYSTEM&amp;lt;/code&amp;gt; and promoted to scope of &amp;lt;code&amp;gt;SYSTEMS&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;IFAMQA   MODEL204.SIRENQ.&amp;lt;i&amp;gt;smfid&amp;lt;/i&amp;gt;&lt;br /&gt;
IFAMQB   MODEL204.SIRENQ.&amp;lt;i&amp;gt;smfid&amp;lt;/i&amp;gt;&lt;br /&gt;
IFAMQC   MODEL204.SIRENQ.&amp;lt;i&amp;gt;smfid&amp;lt;/i&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
Where &amp;lt;var class=&amp;quot;term&amp;quot;&amp;gt;smfid&amp;lt;/var&amp;gt; is the SMF system ID for the current system, or the value of&lt;br /&gt;
the &amp;lt;var&amp;gt;SMFID&amp;lt;/var&amp;gt; parameter (described below).&lt;br /&gt;
&lt;br /&gt;
The following JCL could be used to invoke SIRENQ, assuming it had previously&lt;br /&gt;
been linkage-edited into the data set identified by &amp;lt;code&amp;gt;STEPLIB&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;//SIRENQ  JOB ,&amp;#039;SIRSAFE SHARED DASD&amp;#039;,CLASS=A,MSGCLASS=A&lt;br /&gt;
//*&lt;br /&gt;
//* FIRE UP SIRENQ&lt;br /&gt;
//*&lt;br /&gt;
//TEST    EXEC PGM=SIRENQ,REGION=1024K&lt;br /&gt;
//STEPLIB  DD DSN=SIRENQ.V101.LOAD,DISP=SHR&lt;br /&gt;
//&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SIRENQ&amp;lt;/var&amp;gt; accepts the following parameters from the &amp;lt;code&amp;gt;PARM&amp;lt;/code&amp;gt; field of its &amp;lt;code&amp;gt;EXEC&amp;lt;/code&amp;gt; statement:&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;&amp;lt;var&amp;gt;INTERVAL=&amp;lt;/var&amp;gt;nnn&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Number of minutes to wait before re-scanning for visible systems.&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
The default is 5 minutes, sufficient for avoiding 522 ABENDs, while still noticing systems enteringand leaving the GRS ring.&lt;br /&gt;
A value of &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; eliminates the timer, and SIRENQ just waits for a &amp;lt;code&amp;gt;MODIFY&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;STOP&amp;lt;/code&amp;gt; command from the operator.&amp;lt;/p&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;&amp;lt;var&amp;gt;SMFID=&amp;lt;/var&amp;gt;cccc&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;If specified, this parameter provides the SMF system ID to be used by this copy of &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SIRENQ&amp;lt;/var&amp;gt;. If not specified, the SMF system ID of the current system is used.&lt;br /&gt;
This is useful in certain hot recovery environments to avoid the need for &amp;lt;var&amp;gt;ENQCTL&amp;lt;/var&amp;gt; commands to clear obsolete shared DASD enqueues.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Operation==&lt;br /&gt;
&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SIRENQ&amp;lt;/var&amp;gt; listens for operating system &amp;lt;code&amp;gt;STOP&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;MODIFY&amp;lt;/code&amp;gt; commands.&lt;br /&gt;
If a &amp;lt;code&amp;gt;STOP&amp;lt;/code&amp;gt; command is received, &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SIRENQ&amp;lt;/var&amp;gt; drops its enqueues, and it exits, causing the current OS/390 instance to become invisible.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SIRENQ&amp;lt;/var&amp;gt; processes the following &amp;lt;code&amp;gt;MODIFY&amp;lt;/code&amp;gt; commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;thJustBold&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;REFRESH&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Immediately rebuild the list of &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SIRENQ&amp;lt;/var&amp;gt; copies seen on other systems, without waiting for the completion of the current time interval, if any.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th nowrap&amp;gt;EOD or EXIT&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Processed as a &amp;lt;code&amp;gt;STOP&amp;lt;/code&amp;gt; command: immediately drop the enqueues and exit.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Template:SirSafe topic list}}&lt;br /&gt;
&lt;br /&gt;
[[Category:SirSafe]]&lt;/div&gt;</summary>
		<author><name>JAL</name></author>
	</entry>
</feed>