<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.vmssoftware.com/index.php?action=history&amp;feed=atom&amp;title=SET_ACCOUNTING</id>
	<title>SET ACCOUNTING - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.vmssoftware.com/index.php?action=history&amp;feed=atom&amp;title=SET_ACCOUNTING"/>
	<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=SET_ACCOUNTING&amp;action=history"/>
	<updated>2026-05-02T12:21:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://wiki.vmssoftware.com/index.php?title=SET_ACCOUNTING&amp;diff=2597&amp;oldid=prev</id>
		<title>Jane.doe at 11:21, 23 May 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=SET_ACCOUNTING&amp;diff=2597&amp;oldid=prev"/>
		<updated>2023-05-23T11:21:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:21, 23 May 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;SET ACCOUNTING&#039;&#039;&#039; is a [[DCL]] [[Command|command]] that &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;vontrols &lt;/del&gt;the current [[Accounting|accounting]] file. It requires the [[OPER]] privilege.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;SET ACCOUNTING&#039;&#039;&#039; is a [[DCL]] [[Command|command]] that &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;controls &lt;/ins&gt;the current [[Accounting|accounting]] file. It requires the [[OPER]] privilege.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Syntax=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Syntax=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jane.doe</name></author>
	</entry>
	<entry>
		<id>https://wiki.vmssoftware.com/index.php?title=SET_ACCOUNTING&amp;diff=2439&amp;oldid=prev</id>
		<title>Junji: add Category:DCL Commands</title>
		<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=SET_ACCOUNTING&amp;diff=2439&amp;oldid=prev"/>
		<updated>2021-11-25T04:11:39Z</updated>

		<summary type="html">&lt;p&gt;add Category:DCL Commands&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:11, 25 November 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l62&quot;&gt;Line 62:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 62:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This example closes the current accounting file, opens a new version of it, and changes the name of the old file to WEEK_24_RESOURCES.DAT.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This example closes the current accounting file, opens a new version of it, and changes the name of the old file to WEEK_24_RESOURCES.DAT.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:DCL Commands]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Junji</name></author>
	</entry>
	<entry>
		<id>https://wiki.vmssoftware.com/index.php?title=SET_ACCOUNTING&amp;diff=1626&amp;oldid=prev</id>
		<title>Jane.doe: Created page with &quot;&#039;&#039;&#039;SET ACCOUNTING&#039;&#039;&#039; is a DCL command that vontrols the current accounting file. It requires the OPER privilege.  =Syntax=  SET ACCOUNTING...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=SET_ACCOUNTING&amp;diff=1626&amp;oldid=prev"/>
		<updated>2019-12-02T11:36:11Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;SET ACCOUNTING&amp;#039;&amp;#039;&amp;#039; is a &lt;a href=&quot;/DCL&quot; title=&quot;DCL&quot;&gt;DCL&lt;/a&gt; &lt;a href=&quot;/Command&quot; title=&quot;Command&quot;&gt;command&lt;/a&gt; that vontrols the current &lt;a href=&quot;/Accounting&quot; title=&quot;Accounting&quot;&gt;accounting&lt;/a&gt; file. It requires the &lt;a href=&quot;/OPER&quot; title=&quot;OPER&quot;&gt;OPER&lt;/a&gt; privilege.  =Syntax=  SET ACCOUNTING...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;SET ACCOUNTING&amp;#039;&amp;#039;&amp;#039; is a [[DCL]] [[Command|command]] that vontrols the current [[Accounting|accounting]] file. It requires the [[OPER]] privilege.&lt;br /&gt;
&lt;br /&gt;
=Syntax=&lt;br /&gt;
 SET ACCOUNTING&lt;br /&gt;
&lt;br /&gt;
==Qualifiers==&lt;br /&gt;
* /ENABLE=[[#Keywords|keyword]] enables tracking of the resources specified by the keywords.&lt;br /&gt;
* /DISABLE=[[#Keywords|keyword]] prevents tracking of the resources specified by the keywords.&lt;br /&gt;
* /LOG writes information to the current [[SYS$OUTPUT]] device as the command executes.&lt;br /&gt;
* /NEW_FILE closes the current accounting file, and starts up a new version of it. The name of the new file depends on whether the logical name [[ACCOUNTNG]] is defined in your system logical name table. If this logical name is not defined, the SET ACCOUNTING command opens the file [[SYS$MANAGER]]:ACCOUNTNG.DAT.  If this logical name is defined, the command opens the file that this logical name points to. If you omit the directory, [[SYS$MANAGER]] is the default, and if you omit the file type, .DAT is the default. The /NEW_FILE qualifier writes a record to the end of the old file that contains a forward pointer to the new file, and a record to the beginning of the new file that contains a backward pointer to the old file. These records contain the names of the new and old files respectively.&lt;br /&gt;
&lt;br /&gt;
==Keywords==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Keyword&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| IMAGE&lt;br /&gt;
| Resources used by an image&lt;br /&gt;
|-&lt;br /&gt;
| LOGIN_FAILURE&lt;br /&gt;
| Resources used by an unsuccessful attempt to log in&lt;br /&gt;
|-&lt;br /&gt;
| MESSAGE&lt;br /&gt;
| Unformatted record written to the accounting file by a call to the $SNDJBC system service&lt;br /&gt;
|-&lt;br /&gt;
| PRINT&lt;br /&gt;
| Resources used by a print job&lt;br /&gt;
|-&lt;br /&gt;
| PROCESS&lt;br /&gt;
| Resources used by a process. You do not need to stop the tracking of all processes and images. You can prevent resources being tracked for specific types of process and for images running in these types of process. The following table lists the keywords you can use to specify the type of process:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Keyword&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Type of process&lt;br /&gt;
|-&lt;br /&gt;
| BATCH&lt;br /&gt;
| Batch process&lt;br /&gt;
|-&lt;br /&gt;
| DETACHED&lt;br /&gt;
| Detached process&lt;br /&gt;
|-&lt;br /&gt;
| INTERACTIVE&lt;br /&gt;
| Interactive process&lt;br /&gt;
|-&lt;br /&gt;
| NETWORK&lt;br /&gt;
| Network process&lt;br /&gt;
|-&lt;br /&gt;
| SUBPROCESS&lt;br /&gt;
| Subprocess (the parent process can be a batch, detached, network, or interactive process)&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
 $ SET ACCOUNTING /DISABLE /ENABLE=(PROCESS,BATCH,INTERACTIVE)&lt;br /&gt;
 $ SET ACCOUNTING /ENABLE=IMAGE&lt;br /&gt;
&lt;br /&gt;
This example tells the system to track the resources used only by batch and interactive processes, and by images running in batch and interactive processes. It illustrates the cumulative effect of /ENABLE and /DISABLE qualifiers, and of SET ACCOUNTING commands.&lt;br /&gt;
&lt;br /&gt;
The /DISABLE qualifier prevents the tracking of all resources. The /ENABLE qualifier then tells the system to track the resources used by batch and interactive processes. The second SET ACCOUNTING command tells the system to track the resources used by images.&lt;br /&gt;
&lt;br /&gt;
 $ SET ACCOUNTING /NEW_FILE&lt;br /&gt;
 $ RENAME SYS$MANAGER:ACCOUNTNG.DAT;-1 WEEK_24_RESOURCES.DAT&lt;br /&gt;
&lt;br /&gt;
This example closes the current accounting file, opens a new version of it, and changes the name of the old file to WEEK_24_RESOURCES.DAT.&lt;/div&gt;</summary>
		<author><name>Jane.doe</name></author>
	</entry>
</feed>