<?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_support_for_read-only_files_under_MVS</id>
	<title>SirSafe support for read-only files under MVS - 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_support_for_read-only_files_under_MVS"/>
	<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=SirSafe_support_for_read-only_files_under_MVS&amp;action=history"/>
	<updated>2026-05-14T01:15:46Z</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_support_for_read-only_files_under_MVS&amp;diff=94743&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_support_for_read-only_files_under_MVS&amp;diff=94743&amp;oldid=prev"/>
		<updated>2016-11-30T21:32:41Z</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_support_for_read-only_files_under_MVS&amp;diff=94742&amp;oldid=prev</id>
		<title>JAL: link repair</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=SirSafe_support_for_read-only_files_under_MVS&amp;diff=94742&amp;oldid=prev"/>
		<updated>2016-11-30T21:08:37Z</updated>

		<summary type="html">&lt;p&gt;link repair&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirSafe&amp;lt;/var&amp;gt; can be configured to provide support for read-only files under&lt;br /&gt;
MVS environments &amp;amp;mdash; which can be quite useful for Sarbanes/Oxley auditing.&lt;br /&gt;
By default this support is deactivated.&lt;br /&gt;
In order to take advantage of read-only files, the system manager&lt;br /&gt;
must explicitly activate &amp;lt;var&amp;gt;MVSRO&amp;lt;/var&amp;gt; mode with the &amp;lt;var&amp;gt;[[SirSafe command and function reference#AUTHCTL|AUTHCTL]]&amp;lt;/var&amp;gt; command.&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirSafe&amp;lt;/var&amp;gt; is active in &amp;lt;var&amp;gt;MVSRO&amp;lt;/var&amp;gt; mode, additional checks are&lt;br /&gt;
performed whenever a &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt; database file is &amp;lt;b&amp;gt;physically&amp;lt;/b&amp;gt; opened.&lt;br /&gt;
For each data set comprising the &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt; database file, the current security&lt;br /&gt;
interface is used to determine if the &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt; &amp;lt;i&amp;gt;job&amp;lt;/i&amp;gt; is running under a profile that allows WRITE access.&lt;br /&gt;
If so, the data set is opened for output, else an attempt is made to open the data set for input.&lt;br /&gt;
&lt;br /&gt;
If any of the data sets for a &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt; database file are opened just&lt;br /&gt;
for input, then the &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt; database file is forced into read-only mode.&lt;br /&gt;
Whatever privileges would have been granted to the opening user are logically And&amp;#039;ed with &amp;lt;code&amp;gt;X&amp;#039;8763&amp;#039;&amp;lt;/code&amp;gt;, and the &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt; message &amp;lt;code&amp;gt;M204.0620&amp;lt;/code&amp;gt; is produced.&lt;br /&gt;
If the first (or only) data set for a &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt; database file is opened&lt;br /&gt;
just for input, the &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt; message &amp;lt;code&amp;gt;M204.0590&amp;lt;/code&amp;gt; is produced and shared DASD enqueueing is deactivated.&lt;br /&gt;
&lt;br /&gt;
==Activating read-only mode==&lt;br /&gt;
In order to activate read-only file support, the System Manager must use the &amp;lt;var&amp;gt;AUTHCTL&amp;lt;/var&amp;gt; command.&lt;br /&gt;
If &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirSafe&amp;lt;/var&amp;gt; is already active, the &amp;lt;code&amp;gt;AUTHCTL LIST&amp;lt;/code&amp;gt; command displays the current &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirSafe&amp;lt;/var&amp;gt; configuration:&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;b&amp;gt;authctl list sirsafe&amp;lt;/b&amp;gt;&lt;br /&gt;
AUTHCTL A SIRSAFE REQUIRED MVSRW RACF=M204*&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The keyword &amp;lt;var&amp;gt;MVSRW&amp;lt;/var&amp;gt; indicates that read-only support is &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; active.&lt;br /&gt;
Because &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirSafe&amp;lt;/var&amp;gt; is running in &amp;lt;var&amp;gt;REQUIRED&amp;lt;/var&amp;gt; mode, visible password entries may exist in CCASTAT.&lt;br /&gt;
Continuing this example, read-only processing is enabled with the following command:&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;AUTHCTL C SIRSAFE REQUIRED MVSRO RACF=M204*&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
The keyword &amp;lt;var&amp;gt;MVSRO&amp;lt;/var&amp;gt; indicates that read-only support is active.&lt;br /&gt;
&lt;br /&gt;
For most jobs, the overhead of read-only support should be insignificant,&lt;br /&gt;
because most commonly used &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt; database files tend to remain&lt;br /&gt;
physically open for the life of a job.&lt;br /&gt;
However, certain kinds of unusual jobs could experience degradation.&lt;br /&gt;
An example is an IFAM host language job that performs many &amp;lt;var&amp;gt;IFOPEN&amp;lt;/var&amp;gt; and &amp;lt;var&amp;gt;IFCLOSE&amp;lt;/var&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt; attempts to open a database file without &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirSafe&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;MVSRO&amp;lt;/var&amp;gt;&lt;br /&gt;
active, and the job has only read access to one or more of the data sets&lt;br /&gt;
comprising the file, an IEC150I message is produced, indicating that a 913 abend occurred.&lt;br /&gt;
&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt; intercepts the open, and the open is rejected with an &amp;lt;code&amp;gt;M204.0454&amp;lt;/code&amp;gt; error message.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote class=&amp;quot;note&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; As shown below, it is still possible to receive an IEC150I message when &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirSafe&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;MVSRO&amp;lt;/var&amp;gt;&lt;br /&gt;
is active, because &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirSafe&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;MVSRO&amp;lt;/var&amp;gt; processing just checks for &amp;lt;i&amp;gt;update&amp;lt;/i&amp;gt; access to each data set of a &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt; database file.&lt;br /&gt;
An open in read-only mode is always attempted, even if a &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;Model&amp;amp;nbsp;204&amp;lt;/var&amp;gt; job has &amp;lt;i&amp;gt;no&amp;lt;/i&amp;gt; access to a data set.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;b&amp;gt;AUTHCTL TEST ON&lt;br /&gt;
OPEN PROCFIL2&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;***  2  M204.0454: UNABLE TO OPEN FILE DATASET PROCFIL2&lt;br /&gt;
***  3  M204.0630: FILE OPEN COMMAND REJECTED&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;VIEW ERRORS&amp;lt;/b&amp;gt;&lt;br /&gt;
13.39.55 1 3: MSIR.0598: SirSafe: R/W access denied&lt;br /&gt;
13.39.55 1 3: MSIR.0597: SirSafe: (TOM,SYS1) checking R/W to M204.GARY.PROCFIL2 on MVS204&lt;br /&gt;
&lt;br /&gt;
JOB05308  ICH408I USER(TOM   ) GROUP(SYS1   ) NAME(TOM SWIFT   )  961&lt;br /&gt;
   961               M204.GARY.PROCFIL2 CL(DATASET ) VOL(MVS204)&lt;br /&gt;
   961               INSUFFICIENT ACCESS AUTHORITY&lt;br /&gt;
   961               FROM M204.GARY.PROCFIL2 (G)&lt;br /&gt;
   961               ACCESS INTENT(READ   )  ACCESS ALLOWED(NONE   )&lt;br /&gt;
JOB05308  IEC150I 913-38,IFG0194E,ONLINE,TEST,PROCFIL2,0705,MVS204,M204.GARY.PROCFIL2&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;b id=&amp;quot;monro&amp;quot;&amp;gt;&amp;lt;/b&amp;gt;Monitoring and debugging==&lt;br /&gt;
The &amp;lt;code&amp;gt;AUTHCTL TEST ON&amp;lt;/code&amp;gt; command can be used to activate the display&lt;br /&gt;
of debugging information for SirSafe.&lt;br /&gt;
This lasts just for the current job, and it can be cancelled with an&lt;br /&gt;
&amp;lt;code&amp;gt;AUTHCTL TEST OFF&amp;lt;/code&amp;gt; command.&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;var&amp;gt;AUTHCTL TEST&amp;lt;/var&amp;gt; is activated, two new messages track the &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirSafe&amp;lt;/var&amp;gt;&lt;br /&gt;
data set access checking for read-only support:&lt;br /&gt;
Message &amp;lt;code&amp;gt;MSIR.0597&amp;lt;/code&amp;gt; indicates the data set being checked and the user ID and group for the access.&lt;br /&gt;
&amp;lt;code&amp;gt;MSIR.0598&amp;lt;/code&amp;gt; indicates the failure or success of the check.&lt;br /&gt;
&lt;br /&gt;
The following example shows SirSafe &amp;lt;var&amp;gt;MVSRO&amp;lt;/var&amp;gt; processing forcing a file to open in read-only mode.&lt;br /&gt;
(Remember that &amp;lt;code&amp;gt;VIEW&amp;amp;nbsp;ERRORS&amp;lt;/code&amp;gt; output&lt;br /&gt;
displays in reverse chronological order, and note that&lt;br /&gt;
timestamps are removed from the example to save space.)&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;b&amp;gt;LOGFILE PROCFIL2&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;gt;PROCFIL2 A WRITE     X&amp;#039;BFFF&amp;#039;   0,   0,   0,   0,   0,    ALL&lt;br /&gt;
&amp;lt;b&amp;gt;AUTHCTL TEST ON&lt;br /&gt;
O PROCFIL2&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;***  M204.0347: PASSWORD&lt;br /&gt;
***  M204.0590: SHARE-DASD ENQUEUEING INACTIVATED, FPL OF FILE PROCFIL2&lt;br /&gt;
                MVS204.M204.GARY.PROCFIL2 IS ON A READ-ONLY DEVICE&lt;br /&gt;
***  M204.0620: FILE PROCFIL2 OPENED -- NO UPDATES ALLOWED &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;V CURPRIV,ERRORS&amp;lt;/b&amp;gt;&lt;br /&gt;
CURPRIV   X&amp;#039;8763&amp;#039;     PRIVS FOR CURRENT FILE/GROUP&lt;br /&gt;
MSIR.0557: SirSafe approved password access&lt;br /&gt;
MSIR.0553: GARY (M204USR,M204GRP) read to M204RACF.FILE.PROCFIL2.INDEXA tried by&lt;br /&gt;
MSIR.0598: SirSafe: R/W access denied&lt;br /&gt;
MSIR.0597: SirSafe: (GARY,SYS1) checking R/W to M204.GARY.PROCFIL2 on MVS204&lt;br /&gt;
&amp;lt;/p&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>