<?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=Comment</id>
	<title>Comment - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.vmssoftware.com/index.php?action=history&amp;feed=atom&amp;title=Comment"/>
	<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=Comment&amp;action=history"/>
	<updated>2026-05-02T10:51:06Z</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=Comment&amp;diff=132&amp;oldid=prev</id>
		<title>Darya.zelenina: Created page with &quot;A &#039;&#039;&#039;comment&#039;&#039;&#039; is a command line or part of a command line in DCL that is ignored by the CLI. Comments are marked with an exclamation point (!).  =Example= Consider the f...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=Comment&amp;diff=132&amp;oldid=prev"/>
		<updated>2018-12-19T06:40:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A &amp;#039;&amp;#039;&amp;#039;comment&amp;#039;&amp;#039;&amp;#039; is a command line or part of a command line in DCL that is ignored by the &lt;a href=&quot;/CLI&quot; title=&quot;CLI&quot;&gt;CLI&lt;/a&gt;. Comments are marked with an exclamation point (!).  =Example= Consider the f...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;comment&amp;#039;&amp;#039;&amp;#039; is a command line or part of a command line in DCL that is ignored by the [[CLI]]. Comments are marked with an exclamation point (!).&lt;br /&gt;
&lt;br /&gt;
=Example=&lt;br /&gt;
Consider the following command procedure, TEST.COM:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ show time !This comment is ignored&lt;br /&gt;
$! This entire line is ignored as well&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Here is the result of running it:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ @test&lt;br /&gt;
  19-DEC-2018 11:19:38&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Use=&lt;br /&gt;
The most important and obvious way to use comments is documenting a command procedure:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$  !  Copyright (c) 1987 Digital Equipment Corporation.  All rights reserved.&lt;br /&gt;
$  !&lt;br /&gt;
$  !  MONITOR.COM  (Generate MONITOR recording file)&lt;br /&gt;
$  !&lt;br /&gt;
$  !  This command file is to be placed in a cluster-accessible&lt;br /&gt;
$  !  directory called SYS$MONITOR. At system startup time, for each&lt;br /&gt;
$  !  node, it creates in SYS$MONITOR a MONITOR recording file, which&lt;br /&gt;
$  !  is updated throughout the life of the boot. It also creates in&lt;br /&gt;
$  !  MON$ARCHIVE, a summary file from the recording file of the&lt;br /&gt;
$  !  previous boot, along with a copy of that recording file.&lt;br /&gt;
$  !  Logical name definitions for both cluster-accessible directories,&lt;br /&gt;
$  !  SYS$MONITOR and MON$ARCHIVE, must be included in SYSTARTUP.COM.&lt;br /&gt;
$  !&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another use of comments is disabling a command line that is not needed now but may be needed in the future:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$! Uncomment the following command to start the OpenVMS Management&lt;br /&gt;
$! Station server application.&lt;br /&gt;
$!&lt;br /&gt;
$!$ @SYS$STARTUP:TNT$STARTUP&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Darya.zelenina</name></author>
	</entry>
</feed>