<?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=DECK</id>
	<title>DECK - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.vmssoftware.com/index.php?action=history&amp;feed=atom&amp;title=DECK"/>
	<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=DECK&amp;action=history"/>
	<updated>2026-05-09T20:31:23Z</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=DECK&amp;diff=1618&amp;oldid=prev</id>
		<title>Jane.doe: Created page with &quot;&#039;&#039;&#039;DECK&#039;&#039;&#039; is a DCL command that marks the beginning of an input stream for a command or program. It can be used to create files from within a command procedur...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=DECK&amp;diff=1618&amp;oldid=prev"/>
		<updated>2019-12-02T10:58:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;DECK&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 marks the beginning of an input stream for a command or program. It can be used to create files from within a command procedur...&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;DECK&amp;#039;&amp;#039;&amp;#039; is a [[DCL]] [[Command|command]] that marks the beginning of an input stream for a command or program. It can be used to create files from within a command procedure. DECK is a command executed inside [[DCL]]; no [[Image|image]] is invoked.&lt;br /&gt;
&lt;br /&gt;
=Syntax=&lt;br /&gt;
&lt;br /&gt;
 DECK&lt;br /&gt;
&lt;br /&gt;
==Qualifier== &lt;br /&gt;
/DOLLARS sets the EOF indicator to the specified string of 1 to 15 characters. Specify a string if the input data contains one or more records beginning with the string $EOD. Enclose the string in quotation marks (&amp;quot; &amp;quot;)  if it contains literal lowercase letters, multiple blanks, or tabs. If you do not specify /DOLLARS or if you specify /DOLLARS without specifying a string, you must use the [[EOD]] command to signal the end-of-file (EOF). A single dollar sign is not allowed as the end-of-deck or file indicator.&lt;br /&gt;
&lt;br /&gt;
=Example=&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ CREATE CREATE_FILE.COM&lt;br /&gt;
$ CREATE FILE.LIS&lt;br /&gt;
$ DECK&lt;br /&gt;
File data&lt;br /&gt;
File data&lt;br /&gt;
$ EOD&lt;br /&gt;
$ &amp;lt;Ctrl/Z pressed&amp;gt;&lt;br /&gt;
$&lt;br /&gt;
$ @CREATE_FILE&lt;br /&gt;
$ TYPE FILE.LIS&lt;br /&gt;
File data&lt;br /&gt;
File data&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The example above illustrates creating a command procedure that creates a file, running it, and then displaying the contents of a file.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ type create_file.lis&lt;br /&gt;
$ create file.lis&lt;br /&gt;
$ deck/dollars=&amp;quot;The end&amp;quot;&lt;br /&gt;
File data&lt;br /&gt;
File data&lt;br /&gt;
The end&lt;br /&gt;
$ exit&lt;br /&gt;
[End of file]&lt;br /&gt;
$ $ @create_file&lt;br /&gt;
$ type file.lis&lt;br /&gt;
File data&lt;br /&gt;
File data&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The example above illustrates the use of /DOLLARS with the DECK command.&lt;br /&gt;
&lt;br /&gt;
[[Category:DCL Commands]]&lt;/div&gt;</summary>
		<author><name>Jane.doe</name></author>
	</entry>
</feed>